activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Re:Prevent Queue from taking new messages, keeping messages already in queue
Date Thu, 28 Feb 2013 03:34:12 GMT
Seems PFC can work in your case.
Enabling PFC in your specific queue can prevent producers from pushing more messages than
the memory limit.
When consumers take messages from the queue, the memory usage decreases to be smaller than
the limit,
producers can resume pushing messages.

At 2013-02-27 21:23:41,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.

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