RabbitMQClientSettings
Class sealed net10.0
Provides the client configuration settings for connecting to a RabbitMQ message broker.
namespace Aspire.RabbitMQ.Client;
public sealed class RabbitMQClientSettings{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesConnectionStringget; setstring? Gets or sets the connection string of the RabbitMQ server to connect to.
DisableAutoActivationget; setbool Gets or sets a boolean value that indicates whether auto activation is disabled or not.
DisableHealthChecksget; setbool Gets or sets a boolean value that indicates whether the RabbitMQ health check is disabled or not.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
MaxConnectRetryCountget; setintGets or sets the maximum number of connection retry attempts.
Default value is 5, set it to 0 to disable the retry mechanism.