Table of Contents

Class RabbitMqOptions

Namespace
Excalibur.Dispatch.Transport.RabbitMQ
Assembly
Excalibur.Dispatch.Transport.RabbitMQ.dll

Configuration options for RabbitMQ integration.

public sealed class RabbitMqOptions
Inheritance
RabbitMqOptions
Inherited Members
Extension Methods

Remarks

This class is used internally by the RabbitMQ transport infrastructure. For configuring RabbitMQ transport, use the fluent builder API via AddRabbitMQTransport(IServiceCollection, string, Action<IRabbitMQTransportBuilder>).

Properties are organized into sub-option groups for clarity: Queue for queue declaration settings, DeadLetter for dead letter exchange settings, and Consumption for consumer behavior settings.

Properties

Consumption

Gets or sets the consumption options.

public RabbitMqConsumptionOptions Consumption { get; set; }

Property Value

RabbitMqConsumptionOptions

The consumption configuration options.

DeadLetter

Gets or sets the dead letter exchange options.

public RabbitMqDeadLetterExchangeOptions DeadLetter { get; set; }

Property Value

RabbitMqDeadLetterExchangeOptions

The dead letter configuration options.

Exchange

Gets or sets the exchange name.

public string Exchange { get; set; }

Property Value

string

The exchange name.

Queue

Gets or sets the queue declaration options.

public RabbitMqQueueOptions Queue { get; set; }

Property Value

RabbitMqQueueOptions

The queue configuration options.

RoutingKey

Gets or sets the routing key for publishing.

public string RoutingKey { get; set; }

Property Value

string

The routing key for publishing.