ActiveMQ-Delete Inactive Destinations Queue or Topic

ActiveMQ Logo Copywrite ActiveMQ

ActiveMQ doesn’t flush out or remove inactive Destinations like topic and queue automatically. Inactive destinations are those topics and queue that doesn’t have any subscribers.

To let ActiveMQ removes the inactive Destinations, modify the activemq.xml and insert the highlighted portion of the broker element. You need to restart the ActiveMQ service after saving the changes.


This post is based on my understanding and experiences. For corrections and comments, please feel free to comment below.

Leave a Reply

Your email address will not be published. Required fields are marked *