<div dir="ltr">Mostly for convenience. I wanted to use anonymous (autonamed) queues, but not have to worry about cleaning them up later. <i>Auto-delete</i> might also fit the bill, but seems to have the same problems as <i>exclusive</i> as far as I can tell. I'm also just curious if I'm right about the behavior of <i>exclusive, </i>because if so it seems like a feature that should be used only rarely and very carefully. <div><br></div><div>I'm thinking I might instead implement a naming scheme for the consumers, and use the <i>x-expires</i> argument to have the queues clean themselves up after perhaps 1 hour or so. <br><br>On Monday, March 31, 2014 9:06:55 AM UTC-6, Alvaro Videla wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi,
<br>
<br>Why do you need the queue to be exclusive? Perhaps you want exclusive
<br>consumers? <a href="http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.consume.exclusive" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.rabbitmq.com%2Famqp-0-9-1-reference.html%23basic.consume.exclusive\46sa\75D\46sntz\0751\46usg\75AFQjCNGWYt9OPdpFAy6NKASz_OD-rM-apw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.rabbitmq.com%2Famqp-0-9-1-reference.html%23basic.consume.exclusive\46sa\75D\46sntz\0751\46usg\75AFQjCNGWYt9OPdpFAy6NKASz_OD-rM-apw';return true;">http://www.rabbitmq.com/amqp-<wbr>0-9-1-reference.html#basic.<wbr>consume.exclusive</a>
<br>
<br>Regards,
<br>
<br>Alvaro
<br>
<br>On Mon, Mar 31, 2014 at 4:49 PM, Brian Reischl <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="xfp8-FASOwcJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">brei...@gmail.com</a>> wrote:
<br>> I'm looking at using queues with the exclusive option for distributing
<br>> configuration updates in my application. However, I'm worried that using the
<br>> exclusive option makes the queue unreliable in the event of transient
<br>> network problems. My thinking is that if the connection drops, then the
<br>> queue is deleted along with any messages in it. My consumer will also be
<br>> disconnected for some period of time while it reconnects and declares a new
<br>> queue & bindings, during which time any new messages will not be delivered.
<br>> Is that correct? If so, it seems like exclusive queues should not be used
<br>> for messages you don't want to lose?
<br>>
<br>> ______________________________<wbr>_________________
<br>> rabbitmq-discuss mailing list
<br>> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xfp8-FASOwcJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">rabbitmq...@lists.<wbr>rabbitmq.com</a>
<br>> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Flists.rabbitmq.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Frabbitmq-discuss\46sa\75D\46sntz\0751\46usg\75AFQjCNEa7MyKsA1XPSVZIhQM5kBuKmKiKg';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Flists.rabbitmq.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Frabbitmq-discuss\46sa\75D\46sntz\0751\46usg\75AFQjCNEa7MyKsA1XPSVZIhQM5kBuKmKiKg';return true;">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a>
<br>>
<br></blockquote></div></div>