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
Exchange
Gets or sets the exchange to publish to. Use an empty string for the default exchange.
public string Exchange { get; set; }
Property Value
Mandatory
Gets or sets a value indicating whether mandatory publishing is enabled.
public bool Mandatory { get; set; }
Property Value
PersistentMessagesByDefault
Gets or sets a value indicating whether messages should be persistent by default.
public bool PersistentMessagesByDefault { get; set; }
Property Value
PublisherConfirmTimeout
Gets or sets the timeout used for publisher confirmations.
public TimeSpan PublisherConfirmTimeout { get; set; }
Property Value
RoutingKey
Gets or sets the default routing key.
public string RoutingKey { get; set; }
Property Value
Topology
Gets or sets optional topology declaration or validation options.
public RabbitMqTopologyOptions Topology { get; set; }
Property Value
UsePublisherConfirms
Gets or sets a value indicating whether publisher confirms are enabled.
public bool UsePublisherConfirms { get; set; }
Property Value
Methods
Validate()
Validates the destination options and returns the same instance when valid.
public RabbitMqDestinationOptions Validate()
Returns
- RabbitMqDestinationOptions
The validated options instance.