Table of Contents

Class RabbitMqExchangeOptions

Namespace
Ratatoskr.RabbitMq.Config
Assembly
Ratatoskr.RabbitMq.dll

RabbitMQ exchange configuration for publish channels. Only exposes exchange-related settings — queue, consumer, and retry options are not available.

public class RabbitMqExchangeOptions
Inheritance
RabbitMqExchangeOptions
Inherited Members

Constructors

RabbitMqExchangeOptions(RabbitMqChannelOptions)

RabbitMQ exchange configuration for publish channels. Only exposes exchange-related settings — queue, consumer, and retry options are not available.

Methods

WithDirectExchange()

Configures a direct exchange with exact routing key matching.

WithExchangeType(RabbitMqExchangeType)

Sets the exchange type.

WithFanoutExchange()

Configures a fanout exchange that broadcasts to all bound queues.

WithTopicExchange()

Configures a topic exchange with pattern-based routing.