Thank you Christian and Gary for responding to my question. Sorry, I forgot to mention that the destination should be idle for a period of time, let say a day. Is there a way to know how long the destination is idle before deleting?
gcInactiveDestination only works when there are no pending messages and connected consumers. Regards -- View this message in context: http://activemq.2283324.n4.nabble.com/Remove-message-queue-after-a-day-with-or-with-or-without-a-message-tp4671669p4671749.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.