-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQueueOptions.cs
More file actions
20 lines (19 loc) · 955 Bytes
/
QueueOptions.cs
File metadata and controls
20 lines (19 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Collections.Generic;
using RabbitMQ.Client.Core.Interfaces;
namespace RabbitMQ.Client.Core.Options
{
///<summary>
/// Representation of Queue options section for a consumer (<see cref="RabbitMQ.Client.Core.Abstractions.ConsumerBase" />) or a publisher (<see cref="RabbitMQ.Client.Core.Abstractions.ConsumerBase" />)
///</summary>
public class QueueOptions<TConsumerOrPublisherQueue>: IQueueOptions<TConsumerOrPublisherQueue> where TConsumerOrPublisherQueue: class
{
public const string QueueSectionName = "Queue";
public string QueueName { get; set; }
public bool Durable { get; set; }
public bool Exclusive { get; set; }
public bool AutoAck { get; set; }
public bool AutoDelete { get; set; }
public IDictionary<string, object> Arguments { get; set; }
public IEnumerable<ExchangeBindingOptions<TConsumerOrPublisherQueue>> Bindings { get; set; }
}
}