[rabbitmq-discuss] How check for existing queue consumer

Michael Klishin mklishin at gopivotal.com
Wed Feb 12 15:03:37 GMT 2014


On 12 Feb 2014, at 18:59, cw storm <cwstorm at gmail.com> wrote:

>  Is there someway in that service where I can check to see if an existing queue consumer already exist for that queue before issue'ing the "basicConsume"?

queue.declare (with passive = true, for example) and see consumer count field on the response
(queue.declare-ok)

MK

Software Engineer, Pivotal/RabbitMQ




More information about the rabbitmq-discuss mailing list