Skip to content

Commit 6221d6a

Browse files
authored
Update IModel.cs
Added documentation according to https://www.rabbitmq.com/queues.html
1 parent 599020b commit 6221d6a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

projects/RabbitMQ.Client/client/api/IModel.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,13 +369,23 @@ string BasicConsume(
369369
/// </remarks>
370370
void QueueBindNoWait(string queue, string exchange, string routingKey, IDictionary<string, object> arguments);
371371

372-
/// <summary> Declare a queue.</summary>
372+
/// <summary> Declare a queue.</summary>
373+
/// <param name="queue">The name of the queue</param>
374+
/// <param name="durable">The queue will survive a broker restart</param>
375+
/// <param name="exclusive">Used by only one connection and the queue will be deleted when that connection closes</param>
376+
/// <param name="autoDelete">Queue that has had at least one consumer is deleted when last consumer unsubscribes</param>
377+
/// <param name="arguments">Optional; used by plugins and broker-specific features such as message TTL, queue length limit, etc</param>
373378
QueueDeclareOk QueueDeclare(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments);
374379

375380
/// <summary>
376381
/// Same as QueueDeclare but sets nowait to true and returns void (as there
377382
/// will be no response from the server).
378383
/// </summary>
384+
/// <param name="queue">The name of the queue</param>
385+
/// <param name="durable">The queue will survive a broker restart</param>
386+
/// <param name="exclusive">Used by only one connection and the queue will be deleted when that connection closes</param>
387+
/// <param name="autoDelete">Queue that has had at least one consumer is deleted when last consumer unsubscribes</param>
388+
/// <param name="arguments">Optional; used by plugins and broker-specific features such as message TTL, queue length limit, etc</param>
379389
void QueueDeclareNoWait(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments);
380390

381391
/// <summary>Declare a queue passively.</summary>

0 commit comments

Comments
 (0)