<div dir="ltr">Thanks for the response. Publishing as mandatory and using publisher confirms may not be an option since I'm not always in control of my client's usage of the Channel. In that case, I'm guessing I have to fallback to Channel.isOpen or wait for the ShutdownListener to be called?<div>
<br></div><div>- jonathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 12:06 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 21 Oct 2013, at 23:02, Jonathan Halterman <<a href="mailto:jhalterman@gmail.com">jhalterman@gmail.com</a>> wrote:<br>
<br>
> Should Channel.basicPublish throw when the exchange doesn't exist?<br>
<br>
</div>No (although I agree it would be completely logical).<br>
<br>
Register a return listener and publish messages as mandatory. Also, take a<br>
look at publisher confirms.<br>
<br>
MK<br>
<br>
<br>
<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>
</blockquote></div><br></div>