Posts from karaf

Purge ActiveMQ Queues

Java activemq, jxm, karaf

Whether for testing or some edge case sometimes you just need to clear out messages that have been building up. Here is an example of how you can clean all of a brokers queues using facilities exposed by JMX in ActiveMQ.