You can set up separate transport connectors for producers and consumers. That way you can bring down producers by shutting down their transport connector, and allow consumers to keep going.
On Wed, Feb 27, 2013 at 6:23 AM, jayeff <johannesfel...@googlemail.com>wrote: > Hi all, > > is there a way to prevent a given queue from taking any new messages, while > keeping the messages already enqueued in the queue? I would like to use > some > mechanism like this to softly shutdown the broker, allowing the messages > that were already enqueued to be processed but not to take new messages. > > Grateful for any ideas! :) > > Best regards, > jayeff > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Prevent-Queue-from-taking-new-messages-keeping-messages-already-in-queue-tp4664197.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta