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
AutoDelete
Gets or sets a value indicating whether the queue should auto-delete.
public bool AutoDelete { get; set; }
Property Value
Durable
Gets or sets a value indicating whether the queue should be durable.
public bool Durable { get; set; }
Property Value
Exclusive
Gets or sets a value indicating whether the queue should be exclusive.
public bool Exclusive { get; set; }
Property Value
Name
Gets or sets the queue name.
public string Name { get; set; }
Property Value
Methods
Named(string)
Creates queue options for the specified queue.
public static RabbitMqQueueOptions Named(string name)
Parameters
namestringThe 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.