Class RabbitMqTopologyOptions
- Namespace
- Pipelinez.RabbitMQ.Configuration
- Assembly
- Pipelinez.RabbitMQ.dll
Configures optional RabbitMQ topology declaration or validation.
public sealed class RabbitMqTopologyOptions
- Inheritance
-
RabbitMqTopologyOptions
- Inherited Members
Properties
BindQueue
Gets or sets a value indicating whether Pipelinez should bind the queue to the exchange.
public bool BindQueue { get; set; }
Property Value
BindingArguments
Gets or sets binding arguments.
public IDictionary<string, object?>? BindingArguments { get; set; }
Property Value
BindingRoutingKey
Gets or sets the routing key used when binding the queue.
public string? BindingRoutingKey { get; set; }
Property Value
DeclareExchange
Gets or sets a value indicating whether Pipelinez should declare the configured exchange.
public bool DeclareExchange { get; set; }
Property Value
DeclareQueue
Gets or sets a value indicating whether Pipelinez should declare the configured queue.
public bool DeclareQueue { get; set; }
Property Value
Exchange
Gets or sets the optional exchange declaration options.
public RabbitMqExchangeOptions? Exchange { get; set; }
Property Value
PassiveDeclareOnly
Gets or sets a value indicating whether topology checks should use passive declarations only.
public bool PassiveDeclareOnly { get; set; }
Property Value
Queue
Gets or sets the optional queue declaration options.
public RabbitMqQueueOptions? Queue { get; set; }
Property Value
Methods
Validate()
Validates the topology options and returns the same instance when valid.
public RabbitMqTopologyOptions Validate()
Returns
- RabbitMqTopologyOptions
The validated options instance.