Table of Contents

Class RabbitMqDestinationOptions

Namespace
Pipelinez.RabbitMQ.Configuration
Assembly
Pipelinez.RabbitMQ.dll

Configures a RabbitMQ destination.

public class RabbitMqDestinationOptions
Inheritance
RabbitMqDestinationOptions
Derived
Inherited Members

Properties

Connection

Gets or sets the RabbitMQ connection options.

public RabbitMqConnectionOptions Connection { get; set; }

Property Value

RabbitMqConnectionOptions

Exchange

Gets or sets the exchange to publish to. Use an empty string for the default exchange.

public string Exchange { get; set; }

Property Value

string

Mandatory

Gets or sets a value indicating whether mandatory publishing is enabled.

public bool Mandatory { get; set; }

Property Value

bool

PersistentMessagesByDefault

Gets or sets a value indicating whether messages should be persistent by default.

public bool PersistentMessagesByDefault { get; set; }

Property Value

bool

PublisherConfirmTimeout

Gets or sets the timeout used for publisher confirmations.

public TimeSpan PublisherConfirmTimeout { get; set; }

Property Value

TimeSpan

RoutingKey

Gets or sets the default routing key.

public string RoutingKey { get; set; }

Property Value

string

Topology

Gets or sets optional topology declaration or validation options.

public RabbitMqTopologyOptions Topology { get; set; }

Property Value

RabbitMqTopologyOptions

UsePublisherConfirms

Gets or sets a value indicating whether publisher confirms are enabled.

public bool UsePublisherConfirms { get; set; }

Property Value

bool

Methods

Validate()

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

public RabbitMqDestinationOptions Validate()

Returns

RabbitMqDestinationOptions

The validated options instance.