You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Dylan Vanderhoof <Dy...@semaphore.com> on 2008/12/17 19:46:28 UTC

Broker stops accepting messages when policy queue memoryLimit is reached

Broker stops accepting messages once the queue memoryLimit is hit.

Version: 5.2.0

How to reproduce:

 1.  Start ActiveMQ with default configuration.
 2.  Queue messages until it stops accepting messages. (~5000 depending on message size.)

The broker will continue accepting messages past the limit if a consumer removes one or more messages from the queue before or after it hits the limit.

---------------------------------------

The above is from one of my developers

Are we misunderstanding the policy memoryLimit setting?  It seems to block on the initial start if there's no consumer, but if the queue has ever been read from since the broker was started, then it will accept messages well in excess of the policy memoryLimit, regardless of whether there are still any active consumers.

-Dylan