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/