[rabbitmq-discuss] Exclusive Producers?

Simon MacMullen simon at rabbitmq.com
Tue Feb 18 10:18:30 GMT 2014


On 18/02/2014 2:06AM, Tarun Mistry wrote:
> Using Rabbit speak, I feel like I need something called an "exclusive
> producer".

Yes, that sounds right. Sadly there's not really such a thing as a 
"producer" in the sense of a client having agreed that it can produce 
messages - there are just clients that may or may not publish messages. 
So there's an asymmetry with consumers there.

> Do I need to fudge this by introducing a second queue and having all the
> processes connect to this using the "exclusive consumer" pattern, and
> then use this to determine who can control the main queue?

So that's probably your best bet. I can't think of anything better, 
anyway. It's a bit ugly, but should be workable.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list