[rabbitmq-discuss] Retrieving the queue content with other clients waiting for messages
jdetreville at vmware.com
Mon Dec 6 20:37:10 GMT 2010
Unfortunately, I believe that what you are trying to do is impossible.
A queue is a queue, and all a queue can do is receive messages and deliver messages. You cannot ask its current state.
I believe you cannot do what you ask without keeping extra state outside RabbitMQ.
(That said, I'm work in the RabbitMQ Pacific Rim office, and we sometimes get our answers wrong.)
RabbitMQ Pacific Rim office
On Dec 3, 2010, at 3:06 PM, dmitry.mishin wrote:
> I'm trying to make an application sending jobs to the queue
> and consumers getting jobs from it and processing them.
> I also need a UI showing the status of each job: have it been only
> submitted, is currently executing or finished.
> Can I avoid storing this information outside the rabbitmq?
> My idea is to have 3 queues: submited, executing and completed....
More information about the rabbitmq-discuss