Skip to content

Commit 38620b1

Browse files
Manually backport #958
1 parent b7352de commit 38620b1

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

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

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void BasicPublish(string exchange, string routingKey, bool mandatory,
295295
/// <para>
296296
/// Routing key must be shorter than 255 bytes.
297297
/// </para>
298-
/// </remarks>
298+
/// </remarks>
299299
[AmqpMethodDoNotImplement(null)]
300300
void ExchangeBind(string destination, string source, string routingKey, IDictionary<string, object> arguments);
301301

@@ -306,7 +306,7 @@ void BasicPublish(string exchange, string routingKey, bool mandatory,
306306
/// <para>
307307
/// Routing key must be shorter than 255 bytes.
308308
/// </para>
309-
/// </remarks>
309+
/// </remarks>
310310
void ExchangeBindNoWait(string destination, string source, string routingKey,
311311
IDictionary<string, object> arguments);
312312

@@ -380,7 +380,7 @@ void ExchangeUnbindNoWait(string destination, string source, string routingKey,
380380
/// <para>
381381
/// Routing key must be shorter than 255 bytes.
382382
/// </para>
383-
/// </remarks>
383+
/// </remarks>
384384
[AmqpMethodDoNotImplement(null)]
385385
void QueueBind(string queue, string exchange, string routingKey, IDictionary<string, object> arguments);
386386

@@ -389,10 +389,17 @@ void ExchangeUnbindNoWait(string destination, string source, string routingKey,
389389
/// <para>
390390
/// Routing key must be shorter than 255 bytes.
391391
/// </para>
392-
/// </remarks>
392+
/// </remarks>
393393
void QueueBindNoWait(string queue, string exchange, string routingKey, IDictionary<string, object> arguments);
394394

395-
/// <summary> Declare a queue.</summary>
395+
/// <summary>
396+
/// Declares a queue. See the <a href="https://www.rabbitmq.com/queues.html">Queues guide</a> to learn more.
397+
/// </summary>
398+
/// <param name="queue">The name of the queue. Pass an empty string to make the server generate a name.</param>
399+
/// <param name="durable">Should this queue will survive a broker restart?</param>
400+
/// <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>
401+
/// <param name="autoDelete">Should this queue be auto-deleted when its last consumer (if any) unsubscribes?</param>
402+
/// <param name="arguments">Optional; additional queue arguments, e.g. "x-queue-type"</param>
396403
[AmqpMethodDoNotImplement(null)]
397404
QueueDeclareOk QueueDeclare(string queue, bool durable, bool exclusive,
398405
bool autoDelete, IDictionary<string, object> arguments);
@@ -464,7 +471,7 @@ void QueueDeclareNoWait(string queue, bool durable,
464471
/// <para>
465472
/// Routing key must be shorter than 255 bytes.
466473
/// </para>
467-
/// </remarks>
474+
/// </remarks>
468475
void QueueUnbind(string queue, string exchange, string routingKey, IDictionary<string, object> arguments);
469476

470477
/// <summary>

0 commit comments

Comments
 (0)