Skip to content

Class RabbitMqDependencyDefinition

Namespace: Cephalon.Observability.RabbitMqDependencies.Configuration
Assembly: Cephalon.Observability.RabbitMqDependencies.dll

Describes one RabbitMQ dependency that should contribute to runtime health.

public sealed class RabbitMqDependencyDefinition : DependencyDefinitionBase

objectDependencyDefinitionBaseRabbitMqDependencyDefinition

DependencyDefinitionBase.Id, DependencyDefinitionBase.DisplayName, DependencyDefinitionBase.Required, DependencyDefinitionBase.TimeoutSeconds, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public RabbitMqDependencyDefinition()

Gets or sets the optional AMQP connection string used for the probe.

public string? ConnectionString { get; set; }

string?

Gets or sets the RabbitMQ host name or IP address to probe when no full connection string is supplied.

public string Host { get; set; }

string

Gets or sets the optional password used for authentication when no full connection string is supplied.

public string? Password { get; set; }

string?

Gets or sets the RabbitMQ TCP port.

public int Port { get; set; }

int

Gets or sets a value indicating whether TLS should be enabled for the broker probe.

public bool UseTls { get; set; }

bool

Gets or sets the optional user name used for authentication when no full connection string is supplied.

public string? Username { get; set; }

string?

Gets or sets the RabbitMQ virtual host used for the probe connection.

public string VirtualHost { get; set; }

string