Class ChaparMassTransitOptions
Configuration options for the MassTransit‑based Chapar bus.
Inherited Members
Namespace: Chapar.MassTransit.Options
Assembly: Chapar.MassTransit.dll
Syntax
public class ChaparMassTransitOptions
Properties
| Edit this page View SourceDefaultExchanges
Default exchanges that will be bound to every consumer queue that does not carry an explicit ExchangeAttribute or QueueNameAttribute. Handlers decorated with those attributes are responsible for their own bindings.
Declaration
public List<ExchangeConfig> DefaultExchanges { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ExchangeConfig> |
DefaultHeaders
Headers that will be added to every outgoing message unless overridden per message. Useful for multi‑tenancy, tracing, etc.
Declaration
public Dictionary<string, object> DefaultHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Host
RabbitMQ host name or IP address.
Declaration
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Password
Login password.
Declaration
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Resilience
Settings for retry and circuit breaker policies applied by MassTransit.
Declaration
public ResilienceOptions Resilience { get; set; }
Property Value
| Type | Description |
|---|---|
| ResilienceOptions |
Username
Login username.
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VirtualHost
RabbitMQ virtual host (default is "/").
Declaration
public string VirtualHost { get; set; }
Property Value
| Type | Description |
|---|---|
| string |