<div dir="ltr">&gt;&gt;�<span style="font-family:arial,sans-serif;font-size:13px">So you want a temporary queue that will be mirrored and needs to preserve messages when the client disconnects?</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Ha. �When you put it that way, it sounds like a foolish request, doesn&#39;t it? �I think maybe my best bet is to setup the queue with an expiry policy. �That way I can give my client some time to reconnect, but if they never reconnect, I can eventually trash the queue... �Maybe that is the answer for me...</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">-Chris</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 2:25 PM, Michael Klishin <span dir="ltr">&lt;<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im"><br><div class="gmail_quote">2013/4/2 Chris <span dir="ltr">&lt;<a href="mailto:stuff@moesel.net" target="_blank">stuff@moesel.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Or to put it another way: �I think that if I want to be sure not to lose messages during a reconnection, I have to reconnect to the same queue, and therefore that queue cannot be declared exclusive. �Which leads to the next question: If it is declared autodelete, do I have a small grace period in which I can reconnect and resubscribe before it autodeletes itself?</blockquote>


</div><br></div>I would not rely on that. It would create a race condition that will cause a lot of operational pain.<br><br clear="all"><div>So you want a temporary queue that will be mirrored and needs to preserve messages when the client disconnects?</div>
<div class="im">

-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>