activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ-CPP - how to purge a queue?
Date Fri, 12 Feb 2010 13:44:42 GMT
On Fri, 2010-02-12 at 04:41 -0800, Ivan Pechorin wrote:
> Hi!
> 
> Is there any way to purge a queue from a C++ application that uses
> ActiveMQ-CPP client?
> 
> Best regards, Ivan

You can attempt to delete a Destination from the ActiveMQConnection
class' deleteDestination method.  This works only if there are no
subscriptions on that destination.

Regards
Tim.

-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/


Mime
View raw message