[rabbitmq-discuss] there is a Consumer connected?

Simon MacMullen simon at rabbitmq.com
Mon Jun 11 11:10:47 BST 2012


On 10/06/12 21:38, Yurisleidy Hernández Moya wrote:
> The Producer can know if there is a Consumer connected to the queue
> before sending the message?

To answer your question literally: yes, use the mgmt HTTP API.

To answer your question slightly less literally, the point of a 
messaging system is to let producers and consumers become decoupled - 
why do you want the producer to know if there is a consumer around?

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list