One straight-forward strategy to draining a broker: * setup the broker with a separate transport connector dedicated to draining the broker * stand up the new broker (if not already running) * stand up routes (using camel or the like) or one-way bridges that move messages in one direction only - from the "wind-down" broker to the newly active broker * stop all of the transport connectors except the one dedicate to broker drainage * wait until all of the queues are drained * shutdown the broker
I started a proof-of-concept tool on github that can create external, one-way bridges on-demand and makes it easy to manage the same. If you're interested, I'll point you at it. -- View this message in context: http://activemq.2283324.n4.nabble.com/Marking-a-destination-read-only-tp4691065p4691187.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.