@@ -182,7 +182,7 @@ public interface IModel : IDisposable
182
182
void Abort ( ushort replyCode , string replyText ) ;
183
183
184
184
/// <summary>
185
- /// (Spec method) Acknowledge one or more delivered message(s).
185
+ /// Acknowledge one or more delivered message(s).
186
186
/// </summary>
187
187
void BasicAck ( ulong deliveryTag , bool multiple ) ;
188
188
@@ -204,7 +204,7 @@ string BasicConsume(
204
204
IBasicConsumer consumer ) ;
205
205
206
206
/// <summary>
207
- /// (Spec method) Retrieve an individual message, if
207
+ /// Retrieve an individual message, if
208
208
/// one is available; returns null if the server answers that
209
209
/// no messages are currently available. See also <see cref="IModel.BasicAck"/>.
210
210
/// </summary>
@@ -215,29 +215,36 @@ string BasicConsume(
215
215
void BasicNack ( ulong deliveryTag , bool multiple , bool requeue ) ;
216
216
217
217
/// <summary>
218
- /// (Spec method) Publishes a message.
218
+ /// Publishes a message.
219
219
/// </summary>
220
+ /// <remarks>
221
+ /// <para>
222
+ /// Routing key must be shorter than 255 bytes.
223
+ /// </para>
224
+ /// </remarks>
220
225
[ AmqpMethodDoNotImplement ( null ) ]
221
226
void BasicPublish ( string exchange , string routingKey , bool mandatory ,
222
227
IBasicProperties basicProperties , byte [ ] body ) ;
223
228
224
229
/// <summary>
225
- /// (Spec method) Configures QoS parameters of the Basic content-class.
230
+ /// Configures QoS parameters of the Basic content-class.
226
231
/// </summary>
227
232
void BasicQos ( uint prefetchSize , ushort prefetchCount , bool global ) ;
228
233
229
234
/// <summary>
230
- /// (Spec method).
235
+ /// Indicates that a consumer has recovered.
236
+ /// Deprecated. Should not be used.
231
237
/// </summary>
232
238
[ AmqpMethodDoNotImplement ( null ) ]
233
239
void BasicRecover ( bool requeue ) ;
234
240
235
241
/// <summary>
236
- /// (Spec method).
242
+ /// Indicates that a consumer has recovered.
243
+ /// Deprecated. Should not be used.
237
244
/// </summary>
238
245
void BasicRecoverAsync ( bool requeue ) ;
239
246
240
- /// <summary>(Spec method) Reject a delivered message.</summary>
247
+ /// <summary> Reject a delivered message.</summary>
241
248
void BasicReject ( ulong deliveryTag , bool requeue ) ;
242
249
243
250
/// <summary>Close this session.</summary>
@@ -278,18 +285,28 @@ void BasicPublish(string exchange, string routingKey, bool mandatory,
278
285
IBasicProperties CreateBasicProperties ( ) ;
279
286
280
287
/// <summary>
281
- /// (Extension method) Bind an exchange to an exchange.
288
+ /// Bind an exchange to an exchange.
282
289
/// </summary>
290
+ /// <remarks>
291
+ /// <para>
292
+ /// Routing key must be shorter than 255 bytes.
293
+ /// </para>
294
+ /// </remarks>
283
295
[ AmqpMethodDoNotImplement ( null ) ]
284
296
void ExchangeBind ( string destination , string source , string routingKey , IDictionary < string , object > arguments ) ;
285
297
286
298
/// <summary>
287
- ///Like ExchangeBind but sets nowait to true.
299
+ /// Like ExchangeBind but sets nowait to true.
288
300
/// </summary>
301
+ /// <remarks>
302
+ /// <para>
303
+ /// Routing key must be shorter than 255 bytes.
304
+ /// </para>
305
+ /// </remarks>
289
306
void ExchangeBindNoWait ( string destination , string source , string routingKey ,
290
307
IDictionary < string , object > arguments ) ;
291
308
292
- /// <summary>(Spec method) Declare an exchange.</summary>
309
+ /// <summary>Declare an exchange.</summary>
293
310
/// <remarks>
294
311
/// The exchange is declared non-passive and non-internal.
295
312
/// The "nowait" option is not exercised.
@@ -306,28 +323,34 @@ void ExchangeDeclareNoWait(string exchange, string type, bool durable, bool auto
306
323
IDictionary < string , object > arguments ) ;
307
324
308
325
/// <summary>
309
- /// (Spec method) Declare an exchange.
326
+ /// Do a passive exchange declaration .
310
327
/// </summary>
311
328
/// <remarks>
312
- /// The exchange is declared passive.
329
+ /// This method performs a "passive declare" on an exchange,
330
+ /// which verifies whether .
331
+ /// It will do nothing if the exchange already exists and result
332
+ /// in a channel-level protocol exception (channel closure) if not.
313
333
/// </remarks>
314
334
[ AmqpMethodDoNotImplement ( null ) ]
315
335
void ExchangeDeclarePassive ( string exchange ) ;
316
336
317
337
/// <summary>
318
- /// (Spec method) Delete an exchange.
338
+ /// Delete an exchange.
319
339
/// </summary>
320
340
[ AmqpMethodDoNotImplement ( null ) ]
321
341
void ExchangeDelete ( string exchange , bool ifUnused ) ;
322
342
323
343
/// <summary>
324
- ///Like ExchangeDelete but sets nowait to true.
344
+ /// Like ExchangeDelete but sets nowait to true.
325
345
/// </summary>
326
346
void ExchangeDeleteNoWait ( string exchange , bool ifUnused ) ;
327
347
328
348
/// <summary>
329
- /// (Extension method) Unbind an exchange from an exchange.
349
+ /// Unbind an exchange from an exchange.
330
350
/// </summary>
351
+ /// <remarks>
352
+ /// Routing key must be shorter than 255 bytes.
353
+ /// </remarks>
331
354
[ AmqpMethodDoNotImplement ( null ) ]
332
355
void ExchangeUnbind ( string destination ,
333
356
string source ,
@@ -337,20 +360,35 @@ void ExchangeUnbind(string destination,
337
360
/// <summary>
338
361
/// Like ExchangeUnbind but sets nowait to true.
339
362
/// </summary>
363
+ /// <remarks>
364
+ /// <para>
365
+ /// Routing key must be shorter than 255 bytes.
366
+ /// </para>
367
+ /// </remarks>
340
368
[ AmqpMethodDoNotImplement ( null ) ]
341
369
void ExchangeUnbindNoWait ( string destination , string source , string routingKey ,
342
370
IDictionary < string , object > arguments ) ;
343
371
344
372
/// <summary>
345
- /// (Spec method) Bind a queue to an exchange.
373
+ /// Bind a queue to an exchange.
346
374
/// </summary>
375
+ /// <remarks>
376
+ /// <para>
377
+ /// Routing key must be shorter than 255 bytes.
378
+ /// </para>
379
+ /// </remarks>
347
380
[ AmqpMethodDoNotImplement ( null ) ]
348
381
void QueueBind ( string queue , string exchange , string routingKey , IDictionary < string , object > arguments ) ;
349
382
350
383
/// <summary>Same as QueueBind but sets nowait parameter to true.</summary>
384
+ /// <remarks>
385
+ /// <para>
386
+ /// Routing key must be shorter than 255 bytes.
387
+ /// </para>
388
+ /// </remarks>
351
389
void QueueBindNoWait ( string queue , string exchange , string routingKey , IDictionary < string , object > arguments ) ;
352
390
353
- /// <summary>(Spec method) Declare a queue.</summary>
391
+ /// <summary> Declare a queue.</summary>
354
392
[ AmqpMethodDoNotImplement ( null ) ]
355
393
QueueDeclareOk QueueDeclare ( string queue , bool durable , bool exclusive ,
356
394
bool autoDelete , IDictionary < string , object > arguments ) ;
@@ -391,7 +429,7 @@ void QueueDeclareNoWait(string queue, bool durable,
391
429
uint ConsumerCount ( string queue ) ;
392
430
393
431
/// <summary>
394
- /// (Spec method) Delete a queue.
432
+ /// Delete a queue.
395
433
/// </summary>
396
434
/// <remarks>
397
435
///Returns the number of messages purged during queue deletion.
@@ -407,7 +445,7 @@ void QueueDeclareNoWait(string queue, bool durable,
407
445
void QueueDeleteNoWait ( string queue , bool ifUnused , bool ifEmpty ) ;
408
446
409
447
/// <summary>
410
- /// (Spec method) Purge a queue of messages.
448
+ /// Purge a queue of messages.
411
449
/// </summary>
412
450
/// <remarks>
413
451
/// Returns the number of messages purged.
@@ -416,22 +454,27 @@ void QueueDeclareNoWait(string queue, bool durable,
416
454
uint QueuePurge ( string queue ) ;
417
455
418
456
/// <summary>
419
- /// (Spec method) Unbind a queue from an exchange.
457
+ /// Unbind a queue from an exchange.
420
458
/// </summary>
459
+ /// <remarks>
460
+ /// <para>
461
+ /// Routing key must be shorter than 255 bytes.
462
+ /// </para>
463
+ /// </remarks>
421
464
void QueueUnbind ( string queue , string exchange , string routingKey , IDictionary < string , object > arguments ) ;
422
465
423
466
/// <summary>
424
- /// (Spec method) Commit this session's active TX transaction.
467
+ /// Commit this session's active TX transaction.
425
468
/// </summary>
426
469
void TxCommit ( ) ;
427
470
428
471
/// <summary>
429
- /// (Spec method) Roll back this session's active TX transaction.
472
+ /// Roll back this session's active TX transaction.
430
473
/// </summary>
431
474
void TxRollback ( ) ;
432
475
433
476
/// <summary>
434
- /// (Spec method) Enable TX mode for this session.
477
+ /// Enable TX mode for this session.
435
478
/// </summary>
436
479
void TxSelect ( ) ;
437
480
0 commit comments