And without JMX? :)I saw that org.apache.activemq.broker.region.Queue expose that purge, but how can I reach this class knowing my queue?
James Strachan wrote:
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 methodhttp://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/jmx/QueueViewMBean.html#purge()
