Freigeben über


RabbitMQClientSettings Class

Definition

Provides the client configuration settings for connecting to a RabbitMQ message broker.

public sealed class RabbitMQClientSettings
type RabbitMQClientSettings = class
Public NotInheritable Class RabbitMQClientSettings
Inheritance
RabbitMQClientSettings

Constructors

RabbitMQClientSettings()

Properties

ConnectionString

Gets or sets the connection string of the RabbitMQ server to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the RabbitMQ health check is disabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

MaxConnectRetryCount

Gets or sets the maximum number of connection retry attempts.

Default value is 5, set it to 0 to disable the retry mechanism.

Applies to