How can I clear / purge a selected queue (ex. FOO.BAR) when I start or restart the activeMQ instance.
Is there a way I can configure in activemq.xml or any other way to handle this?
Please note that Im having cluster envitonment which is currently running two instance of ActiveMQs (instance1 and instance2).
Note : I donot want to use deleteAllMessagesOnStartup="true" as it will delete all the Available Queues.
Im trying to use Apache Camel with ActiveMQ. So please let me know if we can get this done with Camel as well.