@@ -208,37 +208,42 @@ void ExchangeDeclare(string exchange,
208
208
void ExchangeDeclarePassive ( string exchange ) ;
209
209
210
210
///<summary>(Spec method) Delete an exchange.</summary>
211
- void ExchangeDelete ( string exchange ,
212
- bool ifUnused ,
213
- [ AmqpNowaitArgument ( null ) ]
214
- bool nowait ) ;
211
+ [ AmqpMethodDoNotImplement ( null ) ]
212
+ void ExchangeDelete ( string exchange , bool ifUnused ) ;
215
213
216
214
///<summary>(Spec method) Delete an exchange.</summary>
215
+ ///<remarks>
216
+ /// The exchange is deleted regardless of any queue bindings.
217
+ ///</remarks>
217
218
[ AmqpMethodDoNotImplement ( null ) ]
218
219
void ExchangeDelete ( string exchange ) ;
219
220
220
- ///<summary>(Spec method) Bind an exchange to an exchange.</summary>
221
- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
222
- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
223
- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
221
+ ///<summary>(Extension method) Bind an exchange to an exchange.</summary>
222
+ [ AmqpMethodDoNotImplement ( null ) ]
224
223
void ExchangeBind ( string destination ,
225
224
string source ,
226
225
string routingKey ,
227
- [ AmqpNowaitArgument ( null ) ]
228
- bool nowait ,
229
226
IDictionary arguments ) ;
230
227
231
- ///<summary>(Spec method) Unbind an exchange from an exchange.</summary>
232
- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
233
- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
234
- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
228
+ ///<summary>(Extension method) Bind an exchange to an exchange.</summary>
229
+ [ AmqpMethodDoNotImplement ( null ) ]
230
+ void ExchangeBind ( string destination ,
231
+ string source ,
232
+ string routingKey ) ;
233
+
234
+ ///<summary>(Extension method) Unbind an exchange from an exchange.</summary>
235
+ [ AmqpMethodDoNotImplement ( null ) ]
235
236
void ExchangeUnbind ( string destination ,
236
237
string source ,
237
238
string routingKey ,
238
- [ AmqpNowaitArgument ( null ) ]
239
- bool nowait ,
240
239
IDictionary arguments ) ;
241
240
241
+ ///<summary>(Extension method) Unbind an exchange from an exchange.</summary>
242
+ [ AmqpMethodDoNotImplement ( null ) ]
243
+ void ExchangeUnbind ( string destination ,
244
+ string source ,
245
+ string routingKey ) ;
246
+
242
247
///<summary>(Spec method) Declare a queue.</summary>
243
248
///<remarks>
244
249
///The queue is declared non-passive, non-durable,
@@ -264,13 +269,18 @@ string QueueDeclare(string queue, bool durable, bool exclusive,
264
269
bool autoDelete , IDictionary arguments ) ;
265
270
266
271
///<summary>(Spec method) Bind a queue to an exchange.</summary>
272
+ [ AmqpMethodDoNotImplement ( null ) ]
267
273
void QueueBind ( string queue ,
268
274
string exchange ,
269
275
string routingKey ,
270
- [ AmqpNowaitArgument ( null ) ]
271
- bool nowait ,
272
276
IDictionary arguments ) ;
273
277
278
+ ///<summary>(Spec method) Bind a queue to an exchange.</summary>
279
+ [ AmqpMethodDoNotImplement ( null ) ]
280
+ void QueueBind ( string queue ,
281
+ string exchange ,
282
+ string routingKey ) ;
283
+
274
284
///<summary>(Spec method) Unbind a queue from an exchange.</summary>
275
285
///<remarks>
276
286
///Note: This operation is only supported when communicating
@@ -286,26 +296,21 @@ void QueueUnbind(string queue,
286
296
287
297
///<summary>(Spec method) Purge a queue of messages.</summary>
288
298
///<remarks>
289
- ///Returns the number of messages purged. If nowait is
290
- ///specified, returns <code>uint.MaxValue</code>.
299
+ ///Returns the number of messages purged.
291
300
///</remarks>
292
- [ return : AmqpFieldMapping ( null , "messageCount" ) ]
293
- uint QueuePurge ( string queue ,
294
- [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
295
- bool nowait ) ;
301
+ [ AmqpMethodDoNotImplement ( null ) ]
302
+ uint QueuePurge ( string queue ) ;
296
303
297
304
///<summary>(Spec method) Delete a queue.</summary>
298
305
///<remarks>
299
306
///Returns the number of messages purged during queue
300
- ///deletion. If nowait is specified, returns
307
+ ///deletion.
301
308
///<code>uint.MaxValue</code>.
302
309
///</remarks>
303
- [ return : AmqpFieldMapping ( null , "messageCount" ) ]
310
+ [ AmqpMethodDoNotImplement ( null ) ]
304
311
uint QueueDelete ( string queue ,
305
312
bool ifUnused ,
306
- bool ifEmpty ,
307
- [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
308
- bool nowait ) ;
313
+ bool ifEmpty ) ;
309
314
310
315
///<summary>(Spec method) Delete a queue.</summary>
311
316
///<remarks>
@@ -322,14 +327,6 @@ uint QueueDelete(string queue,
322
327
[ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
323
328
void ConfirmSelect ( ) ;
324
329
325
- ///<summary>Enable publisher acknowledgements.</summary>
326
- [ AmqpMethodDoNotImplement ( null ) ]
327
- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ]
328
- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ]
329
- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
330
- void ConfirmSelect ( bool nowait ) ;
331
-
332
-
333
330
///<summary>Start a Basic content-class consumer.</summary>
334
331
///<remarks>
335
332
///The consumer is started with noAck=false (i.e. BasicAck is required),
@@ -338,7 +335,7 @@ uint QueueDelete(string queue,
338
335
///</remarks>
339
336
[ AmqpMethodDoNotImplement ( null ) ]
340
337
string BasicConsume ( string queue ,
341
- IDictionary arguments ,
338
+ bool noAck ,
342
339
IBasicConsumer consumer ) ;
343
340
344
341
///<summary>Start a Basic content-class consumer.</summary>
@@ -350,7 +347,7 @@ string BasicConsume(string queue,
350
347
[ AmqpMethodDoNotImplement ( null ) ]
351
348
string BasicConsume ( string queue ,
352
349
bool noAck ,
353
- IDictionary arguments ,
350
+ string consumerTag ,
354
351
IBasicConsumer consumer ) ;
355
352
356
353
///<summary>Start a Basic content-class consumer.</summary>
@@ -611,6 +608,43 @@ void _Private_ExchangeDeclare(string exchange,
611
608
bool nowait ,
612
609
IDictionary arguments ) ;
613
610
611
+ ///<summary>Used to send a Exchange.Delete method. Called by the
612
+ ///public delete method.
613
+ ///</summary>
614
+ [ AmqpMethodMapping ( null , "exchange" , "delete" ) ]
615
+ void _Private_ExchangeDelete ( string exchange ,
616
+ bool ifUnused ,
617
+ [ AmqpNowaitArgument ( null ) ]
618
+ bool nowait ) ;
619
+
620
+ ///<summary>Used to send a Exchange.Bind method. Called by the
621
+ ///public bind method.
622
+ ///</summary>
623
+ [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
624
+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
625
+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
626
+ [ AmqpMethodMapping ( null , "exchange" , "bind" ) ]
627
+ void _Private_ExchangeBind ( string destination ,
628
+ string source ,
629
+ string routingKey ,
630
+ [ AmqpNowaitArgument ( null ) ]
631
+ bool nowait ,
632
+ IDictionary arguments ) ;
633
+
634
+ ///<summary>Used to send a Exchange.Unbind method. Called by the
635
+ ///public unbind method.
636
+ ///</summary>
637
+ [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
638
+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
639
+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
640
+ [ AmqpMethodMapping ( null , "exchange" , "unbind" ) ]
641
+ void _Private_ExchangeUnbind ( string destination ,
642
+ string source ,
643
+ string routingKey ,
644
+ [ AmqpNowaitArgument ( null ) ]
645
+ bool nowait ,
646
+ IDictionary arguments ) ;
647
+
614
648
///<summary>Used to send a Queue.Declare method. Called by the
615
649
///public declare method.</summary>
616
650
[ AmqpMethodMapping ( null , "queue" , "declare" ) ]
@@ -624,6 +658,35 @@ string _Private_QueueDeclare(string queue,
624
658
bool nowait ,
625
659
IDictionary arguments ) ;
626
660
661
+ ///<summary>Used to send a Queue.Bind method. Called by the
662
+ ///public bind method.</summary>
663
+ [ AmqpMethodMapping ( null , "queue" , "bind" ) ]
664
+ void _Private_QueueBind ( string queue ,
665
+ string exchange ,
666
+ string routingKey ,
667
+ [ AmqpNowaitArgument ( null ) ]
668
+ bool nowait ,
669
+ IDictionary arguments ) ;
670
+
671
+ ///<summary>Used to send a Queue.Purge method. Called by the
672
+ ///public purge method.</summary>
673
+ [ return : AmqpFieldMapping ( null , "messageCount" ) ]
674
+ [ AmqpMethodMapping ( null , "queue" , "purge" ) ]
675
+ uint _Private_QueuePurge ( string queue ,
676
+ [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
677
+ bool nowait ) ;
678
+
679
+
680
+ ///<summary>Used to send a Queue.Delete method. Called by the
681
+ ///public delete method.</summary>
682
+ [ AmqpMethodMapping ( null , "queue" , "delete" ) ]
683
+ [ return : AmqpFieldMapping ( null , "messageCount" ) ]
684
+ uint _Private_QueueDelete ( string queue ,
685
+ bool ifUnused ,
686
+ bool ifEmpty ,
687
+ [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
688
+ bool nowait ) ;
689
+
627
690
///<summary>Used to send a Basic.Publish method. Called by the
628
691
///public publish method after potential null-reference issues
629
692
///have been rectified.</summary>
0 commit comments