Skip to content

Commit 6bf788e

Browse files
IModel API reference wording
1 parent 6221d6a commit 6bf788e

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

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

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

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>
372+
/// <summary>
373+
/// Declares a queue. See the <a href="https://www.rabbitmq.com/queues.html">Queues guide</a> to learn more.
374+
/// </summary>
375+
/// <param name="queue">The name of the queue. Pass an empty string to make the server generate a name.</param>
376+
/// <param name="durable">Should this queue will survive a broker restart?</param>
377+
/// <param name="exclusive">Should this queue use be limited to its declaring connection? Such a queue will be deleted when its declaring connection closes.</param>
378+
/// <param name="autoDelete">Should this queue be auto-deleted when its last consumer (if any) unsubscribes?</param>
379+
/// <param name="arguments">Optional; additional queue arguments, e.g. "x-queue-type"</param>
378380
QueueDeclareOk QueueDeclare(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments);
379381

380382
/// <summary>
381-
/// Same as QueueDeclare but sets nowait to true and returns void (as there
382-
/// will be no response from the server).
383+
/// Declares a queue. See the <a href="https://www.rabbitmq.com/queues.html">Queues guide</a> to learn more.
383384
/// </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>
385+
/// <param name="queue">The name of the queue. Pass an empty string to make the server generate a name.</param>
386+
/// <param name="durable">Should this queue will survive a broker restart?</param>
387+
/// <param name="exclusive">Should this queue use be limited to its declaring connection? Such a queue will be deleted when its declaring connection closes.</param>
388+
/// <param name="autoDelete">Should this queue be auto-deleted when its last consumer (if any) unsubscribes?</param>
389+
/// <param name="arguments">Optional; additional queue arguments, e.g. "x-queue-type"</param>
389390
void QueueDeclareNoWait(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments);
390391

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

0 commit comments

Comments
 (0)