[rabbitmq-discuss] How can I get a count of messages in a queue with a certain correlation_id

Emile Joubert emile at rabbitmq.com
Fri Mar 22 17:36:13 GMT 2013


Hi Mike,

On 22/03/13 16:27, mike.dorrell at telcentris.com wrote:
> Is there a better way to get a count of messages in a queue with a
> certain correlation_id?

RabbitMQ queues do not support queue browsing at the time of writing, so
retrieving and requeueing messages is the only way of solving the
problem with a single queue.

A possible alternative is to route messages based on correlation_id and
use the queue length.



-Emile








More information about the rabbitmq-discuss mailing list