activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <>
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 <> 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,
>View this message in context:
>Sent from the ActiveMQ - User mailing list archive at

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