Purge just discards messages, which is likely sufficient for your case. 
Although it sometimes does not delete messages - perhaps those that are
in-flight?

For unit tests, creating a fresh broker instance each time using
BrokerService eliminates the risk of side-effects from prior runs.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Deleting-all-queues-and-messages-in-those-queues-for-unit-tests-and-embedded-broker-tp4686705p4686706.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to