[rabbitmq-discuss] Polling Average message size in a queue

Arun Rao arunrao.seattle at gmail.com
Wed Mar 5 19:22:25 GMT 2014


Hello -

I am interested in monitoring the average size of messages flowing through
a queue. I could use the API to get messages with requeue set to true, so
that I have the output of a message to determine size. Unfortunately, this
method is not effective when consumers are consuming faster than producers.

The other option is to write a java program with higher consumer priority
which connects intermittently to the queue and requeues the messages after
I determine the size.

Any other ideas/suggestions that I missed?

Thanks!
-arun.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140305/3da34739/attachment.html>


More information about the rabbitmq-discuss mailing list