activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Prevent Queue from taking new messages, keeping messages already in queue
Date Wed, 27 Feb 2013 13:49:21 GMT
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 <johannesfelten@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message