On 5/12/06, Adrian Tarau <[EMAIL PROTECTED]> 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/

Reply via email to