<div class="gmail_extra">Hi Matthias,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Actually, the problem I&#39;m trying to guard against isn&#39;t rabbitMQ&#39;s fault but rather external mishaps.�</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Basically, a misconfigured puppet setup wiped out and re-installed rabbitMQ on one of our upstream brokers. With the username the downsteam used to connect gone as well as all the exchanges and queues, the publisher connected and started publishing to an exchange that simply dropped the messages since there were no bindings.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">After thinking it over though, I&#39;ve been thinking that the solution to this situation is simply to have puppet create required users as part of the RabbitMQ setup so the downstream can always be�guaranteed�to connect.�</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">That and don&#39;t allow misconfigured puppet setups to randomly run like that. :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div>
<div class="gmail_extra">James</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 3:14 AM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">James,<div class="im"><br>
<br>
On 17/04/12 22:32, James Carr wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One of the things keeping me up at night lately is a worry that our<br>
federation links will break, the broker will lose its queues someway and<br>
we&#39;ll wind up with messages being published that just get dropped.<br>
</blockquote>
<br></div>
Just to be clear, you are worried that the queues created by federation at the upstream will somehow disappear?<br>
<br>
That would be a bug and as such is just as likely to happen as any other fault.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there a way we could define some kind of queue that is setup by<br>
default? The only other thing I could think is to just define<br>
alternate-exchanges for every exchange, slap a queue on it and set a<br>
consumer on it that simply republishes when federated links are<br>
established.<br>
</blockquote>
<br></div>
Looks like you are re-inventing what the federation logic already provides, i.e. a means to buffer messages while the link is down.<br>
<br>
<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br></div>