[rabbitmq-discuss] Per queue message limit
emile at rabbitmq.com
Fri Aug 17 14:44:27 BST 2012
On 17/08/12 14:19, Prashanth wrote:
> Thank you for the response, you mean producers can observer
> the length of the queue using one of the rabbitmqctl commands. Is there
> anything other way too.
That can work, but it is also possible to obtain the queue length using
AMQP, which is probably more convenient for your publishers. Declare the
queue passively and extract the message-count field:
There are other ways of determining the queue length (e.g. using methods
bearing a message-count parameter), but they disturb the queue contents.
More information about the rabbitmq-discuss