Table of Contents

Class RabbitMQHealthContributor

Namespace
Steeltoe.CloudFoundry.Connector.RabbitMQ
Assembly
Steeltoe.CloudFoundry.ConnectorBase.dll
public class RabbitMQHealthContributor : IHealthContributor
Inheritance
RabbitMQHealthContributor
Implements
Inherited Members

Constructors

RabbitMQHealthContributor(RabbitMQProviderConnectorFactory, ILogger<RabbitMQHealthContributor>)

public RabbitMQHealthContributor(RabbitMQProviderConnectorFactory factory, ILogger<RabbitMQHealthContributor> logger = null)

Parameters

factory RabbitMQProviderConnectorFactory
logger ILogger<RabbitMQHealthContributor>

Properties

Id

Gets an identifier for the type of check being performed

public string Id { get; }

Property Value

string

Methods

GetRabbitMQContributor(IConfiguration, ILogger<RabbitMQHealthContributor>)

public static IHealthContributor GetRabbitMQContributor(IConfiguration configuration, ILogger<RabbitMQHealthContributor> logger = null)

Parameters

configuration IConfiguration
logger ILogger<RabbitMQHealthContributor>

Returns

IHealthContributor

Health()

Check the health of a resource

public HealthCheckResult Health()

Returns

HealthCheckResult

The result of checking the health of a resource