I actively use ActiveMQin my project. Although a standalone ActiveMQinstance is used for production , my tests require a built-in instance ActiveMQ. After executing a specific testing method, ActiveMQstores raw messages in queues. I would like to destroy the instance ActiveMQafter each test. I tried using JMXto connect to a local instance ActiveMQand destroying the queues, but this is a tough decision. Can someone suggest me something easier?
source
share