activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Remove all messages from a queue
Date Sun, 14 May 2006 14:49:44 GMT
On 5/12/06, Adrian Tarau <ady@daxtechnologies.com> wrote:
> How could I remove all messages from a queue? Thanks.
>
> PS : Except consuming one by one :)

Try using JMX....
http://activemq.org/site/jmx.html

the Queue mbean has a pureQueue method
http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/jmx/QueueViewMBean.html#purge()

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message