Queues have a purge management method that you can call from a command line
utility or from within your code.
Method: purge
Argument Type Direction Unit Description
======================================================================================================
request uint32 I 0 for all messages or n>0 for n
messages
filter field-table I if specified, purge only those
messages matching this filter
-Chuck
----- Original Message -----
> From: "Rajesh Khan" <[email protected]>
> To: [email protected]
> Sent: Wednesday, August 28, 2013 4:53:14 PM
> Subject: Clearing up queues in C++
>
> I wanted to know what my options are when I need to clear up queues.
> My first preference would be to clear them up programatically. I tried
> setting a queue to auto-delete however that does not seem to work.I have a
> sender and a receiver. The receiver creates a queue and sets the auto
> delete parameter. However even after the receiver disconnects there still
> is content in the queue. Is there any way of forcefully emptying a queue
> using a command prompt ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]