Sometimes you might want to delete destinations that are inactive for a period of time. Since ActiveMQ version 5.4.0, it's possible to do that using destination policy entries and broker attribute schedulePeriodForDestinationPurge > 0.
For example a configuration like
will check for inactive destination every 10 seconds (
When the destination is removed, you can see messages like
in the log file.