Table of Contents

Interface IRabbitMQQueueArgumentsBuilder

Namespace
Excalibur.Dispatch.Transport.RabbitMQ
Assembly
Excalibur.Dispatch.Transport.RabbitMQ.dll

Defines argument configuration methods for a RabbitMQ queue builder.

public interface IRabbitMQQueueArgumentsBuilder
Extension Methods

Methods

Arguments(IDictionary<string, object>)

Sets additional arguments for queue declaration.

IRabbitMQQueueBuilder Arguments(IDictionary<string, object> arguments)

Parameters

arguments IDictionary<string, object>

The arguments dictionary.

Returns

IRabbitMQQueueBuilder

The builder for chaining.

Exceptions

ArgumentNullException

Thrown when arguments is null.

WithArgument(string, object)

Adds a single argument for queue declaration.

IRabbitMQQueueBuilder WithArgument(string key, object value)

Parameters

key string

The argument key.

value object

The argument value.

Returns

IRabbitMQQueueBuilder

The builder for chaining.

Exceptions

ArgumentException

Thrown when key is null or whitespace.