I tried with JMX and it took a few hours to purge a queue with 50000 msgs.
--- On Thu, 8/18/11, Dejan Bosanac <de...@nighttale.net> wrote: > From: Dejan Bosanac <de...@nighttale.net> > Subject: Re: Delete queues from JDBC storage > To: users@activemq.apache.org > Date: Thursday, August 18, 2011, 6:36 PM > Why don't you delete it using JMX or > web console? > > Regards > -- > Dejan Bosanac - http://twitter.com/dejanb > ----------------- > The experts in open source integration and messaging - http://fusesource.com > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Thu, Aug 18, 2011 at 11:51 AM, Pham Ngoc Hai <pngoc...@yahoo.com> > wrote: > > > Hi, I'm using JDBC as storage, is it sufficient to > delete a queue by > > deleting it from the tables with > > DELETE FROM activemq_msgs where > container='queue://name' > > DELETE FROM activemq_acks where > container='queue://name' > > > > Regards, > > Ngoc Hai > > > > >