Have a look at the ruby jmx4r example at the bottom of this blog entry as a starting point on a simple way to code jmx calls : http://pavelgolubeff.ya.ru/replies.xml?item_no=1583&ncrnd=3263
It may also be worth investing some time in a junit test case for your scenario, as that would speed up finding the root cause and identifying the required fix. On 30 March 2010 15:20, lucious <marcin.gi...@arise.pl> wrote: > > ... or maybe there is a way to remove such "zombie queue" without stopping > the MQ server? > > M. > > > > lucious wrote: > > > > Hi I filed this bug AMQ-2657 which is really annoying to me and sometimes > > it takes me the whole day to look at "zombie" temp-queue (no consumers > but > > messagecount increasing) and perform purge() on such queue. Waiting for > > fix I'd like to ask if it's possible to create simple app to check > > temp-queues and if find zombie-queue then do purge() method on such > queue? > > Any piece of code to start with? > > > > Thx, > > M. > > > > -- > View this message in context: > http://old.nabble.com/temp-queue-purge-from-code%28%29-tp28082374p28083269.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com