activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liny <>
Subject Topic/Queue policyEntry setup suggestions
Date Mon, 09 Apr 2012 09:32:49 GMT

I have Topic/Queue policyEntry setup question in activemq.xml and would like
your suggestions.
My broker has two Topic policyEntries setup at the beginning, like below:

You can see that I have a "RTD.X_NEXT_SETUP" Topic with fixed 8 size
recovery policy and "OTD.A_METRICS" Topic with last image recovery policy.
Now I want to create a new topic producer/consumer for another purpose, so I
need to add below into activemq.xml and restart broker by "activemq restart"

You can see "OTD.B_IDX" Topic needs to keep last 3 messages to let new
consumer gets last messages when connected to broker.
So next time I need another new Topic, say "keep last 5 messages", I need to
setup in activemq.xml and restart broker again.
This is not sutible, especially for production mode.
Production will be impacted when restarting.
And last messages will also be gone after restarting.

So I'd like to ask:
1. Is there any better flexible way to setup such policyEntry? You can see
my setup is one purpose, one policyEntry. I'd like to know how you do.
2. Is there any better way to enable new setup without restart?

Thanks for any suggestions!!!

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message