Table of Contents

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

bool

BindingArguments

Gets or sets binding arguments.

public IDictionary<string, object?>? BindingArguments { get; set; }

Property Value

IDictionary<string, object>

BindingRoutingKey

Gets or sets the routing key used when binding the queue.

public string? BindingRoutingKey { get; set; }

Property Value

string

DeclareExchange

Gets or sets a value indicating whether Pipelinez should declare the configured exchange.

public bool DeclareExchange { get; set; }

Property Value

bool

DeclareQueue

Gets or sets a value indicating whether Pipelinez should declare the configured queue.

public bool DeclareQueue { get; set; }

Property Value

bool

Exchange

Gets or sets the optional exchange declaration options.

public RabbitMqExchangeOptions? Exchange { get; set; }

Property Value

RabbitMqExchangeOptions

PassiveDeclareOnly

Gets or sets a value indicating whether topology checks should use passive declarations only.

public bool PassiveDeclareOnly { get; set; }

Property Value

bool

Queue

Gets or sets the optional queue declaration options.

public RabbitMqQueueOptions? Queue { get; set; }

Property Value

RabbitMqQueueOptions

Methods

Validate()

Validates the topology options and returns the same instance when valid.

public RabbitMqTopologyOptions Validate()

Returns

RabbitMqTopologyOptions

The validated options instance.