# RabbitMQClientSettings

- Kind: `class`
- Package: [Aspire.RabbitMQ.Client](/reference/api/csharp/aspire.rabbitmq.client.md)
- Version: `13.4.0`
- Namespace: `Aspire.RabbitMQ.Client`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.RabbitMQ.Client/RabbitMQClientSettings.cs)

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

## Definition

```csharp
namespace Aspire.RabbitMQ.Client;

public sealed class RabbitMQClientSettings
{
    // ...
}
```

## Constructors

- [RabbitMQClientSettings](/reference/api/csharp/aspire.rabbitmq.client/rabbitmqclientsettings/constructors.md#constructor)

## Properties

- [ConnectionString](/reference/api/csharp/aspire.rabbitmq.client/rabbitmqclientsettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the connection string of the RabbitMQ server to connect to.
- [DisableAutoActivation](/reference/api/csharp/aspire.rabbitmq.client/rabbitmqclientsettings/properties.md#disableautoactivation) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether auto activation is disabled or not.
- [DisableHealthChecks](/reference/api/csharp/aspire.rabbitmq.client/rabbitmqclientsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the RabbitMQ health check is disabled or not.
- [DisableTracing](/reference/api/csharp/aspire.rabbitmq.client/rabbitmqclientsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [MaxConnectRetryCount](/reference/api/csharp/aspire.rabbitmq.client/rabbitmqclientsettings/properties.md#maxconnectretrycount) : `int` `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.
