Table of Contents

Class RabbitMqQueueOptions

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

Configures a RabbitMQ queue.

public sealed class RabbitMqQueueOptions
Inheritance
RabbitMqQueueOptions
Inherited Members

Properties

Arguments

Gets or sets declaration arguments.

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

Property Value

IDictionary<string, object>

AutoDelete

Gets or sets a value indicating whether the queue should auto-delete.

public bool AutoDelete { get; set; }

Property Value

bool

Durable

Gets or sets a value indicating whether the queue should be durable.

public bool Durable { get; set; }

Property Value

bool

Exclusive

Gets or sets a value indicating whether the queue should be exclusive.

public bool Exclusive { get; set; }

Property Value

bool

Name

Gets or sets the queue name.

public string Name { get; set; }

Property Value

string

Methods

Named(string)

Creates queue options for the specified queue.

public static RabbitMqQueueOptions Named(string name)

Parameters

name string

The queue name.

Returns

RabbitMqQueueOptions

The queue options.

Validate()

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

public RabbitMqQueueOptions Validate()

Returns

RabbitMqQueueOptions

The validated options instance.