1. set a timeToLive on your messages
http://activemq.apache.org/how-do-i-set-the-message-expiration.html - this
means that if the producer crashes, the messages will get cleaned up at some
point
2. Enable gc on destinations -
http://activemq.apache.org/delete-inactive-destinations.html - which
Add the statistics plugin to the broker, and then create a monitoring
program that will watch your queues, and if they go to zero producers, then
delete them. Name the queues with a standard prefix, so the monitoring
application can select all of them with a wildcard pattern.
On Fri, Apr 26, 201
Can you use temp queues and use JMX to monitor them?
On Fri, Apr 26, 2013 at 1:06 PM, SledgeHammer wrote:
> Per a previous thread, it was suggested to me to have each producer create
> its own queue so that I can implement a "round-robin the producers" type
> scheme... so I'm doing something l