RabbitMQClientSettings Properties
Class Properties 5 members
Provides the client configuration settings for connecting to a RabbitMQ message broker.
Gets or sets the connection string of the RabbitMQ server to connect to.
public string? ConnectionString { get; set; } Gets or sets a boolean value that indicates whether auto activation is disabled or not.
public bool DisableAutoActivation { get; set; }Remarks
When auto activation is enabled, the RabbitMQ connection is established at startup time rather than on first use, which prevents blocking threads when the connection is first requested from the DI container.
Gets or sets a boolean value that indicates whether the RabbitMQ health check is disabled or not.
public bool DisableHealthChecks { get; set; } Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }Gets or sets the maximum number of connection retry attempts.
Default value is 5, set it to 0 to disable the retry mechanism.
public int MaxConnectRetryCount { get; set; }