<div dir="ltr">That all makes sense. �Thanks for the explanation.<div><br></div><div>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 12, 2014 at 1:56 AM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Alan,<div class="im"><br>
<br>
On 12/01/14 01:17, Alan Antonuk wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
It appears that the semantics of exchange.delete, exchange.unbind,<br>
queue.delete, and queue.unbind when the entity doesn't exist have<br>
changed: they used to throw a channel exception, now they do not.<br></div>
[...]<div class="im"><br>
I'm also kind of curious as to why this behavior was changed (which I<br>
would assume was for perf reasons).<br>
</div></blockquote>
<br>
The new behaviour is more useful and semantically consistent. AMQP generally has an idempotent assertion semantics, i.e. commands indicate what should be rather than what should happen. This is so that clients can operate independently on the shared space of resources, with each client simply asserting what it requires.<br>

<br>
So declaring an exchange/queue/binding which already exists is perfectly fine. And deleting an exchange/queue/binding which doesn't exist should therefore be fine too.<br>
<br>
You can get the old behaviour by prefixing the delete with a passive declare.<br>
<br>
Regards,<br>
<br>
Matthias.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>