Guess an enhancement is needed to optionally see TempQueues in Jmx. Even better would be to get this fixed.
On the test case, these existing junit tests from acrtivemq-core would make a good start point, the first is one that tests temp queues in a network of brokers: org.apache.activemq.usecases.ThreeBrokerTempQueueNetworkTest The second is another network test that forces a network disconnect via a socketProxy: org.apache.activemq.usecases.BrokerQueueNetworkWithDisconnectTest A combination of the two may be what you need to reproduce your scenario. you can see the source from an svn checkout of trunk or browse via http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ Thanks for the contribution <http://activemq.apache.org/contributing.html>. On 31 March 2010 17:43, lucious <marcin.gi...@arise.pl> wrote: > > just to give a short update ... seems like there is NOW way to remove > temp-queue like in this example. Normal queue can be simply removed but no > temp ones. Bug or a "feature"? > > M. > -- > View this message in context: > http://old.nabble.com/temp-queue-purge-from-code%28%29-tp28082374p28098574.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com