This method removes all messages from a queue which are not awaiting acknowledgment.
Namespace:
Kaazing.AMQPAssembly: Kaazing.AMQP (in Kaazing.AMQP.dll)
Syntax
Visual Basic |
---|
Public Function PurgeQueue ( _ queue As String, _ noWait As Boolean, _ callback As AmqpEventHandler _ ) As AmqpChannel |
C# |
---|
public AmqpChannel PurgeQueue( string queue, bool noWait, AmqpEventHandler callback ) |
Visual C++ |
---|
public: AmqpChannel^ PurgeQueue( String^ queue, bool noWait, AmqpEventHandler^ callback ) |
Parameters
- queue
- Type: System..::..String
Queue
- noWait
- Type: System..::..Boolean
No - Wait
- callback
- Type: Kaazing.AMQP..::..AmqpEventHandler
Method to be called on Success