[erlang-questions] Make sure that there is only one consumer connected to the RabbitMQ queue

Max Bourinov bourinov@REDACTED
Wed Mar 13 15:07:13 CET 2013


Hi Erlangers,

I have multiple nodes that might connect to the certain queue at my
RabbitMQ server. I need to make sure that only the first of them will
connect and all others will fail. Queue should not be deleted when
currently connected node goes down.

I think that exclusive = true and auto-delete = false will do the work. Am
I right?

Best regards,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130313/1f83148e/attachment.htm>


More information about the erlang-questions mailing list