[rabbitmq-discuss] Channel.basicPublish to a non-existent exchange does not throw
Jonathan Halterman
jhalterman at gmail.com
Mon Oct 21 20:20:49 BST 2013
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?
- jonathan
On Mon, Oct 21, 2013 at 12:06 PM, Michael Klishin <mklishin at gopivotal.com>wrote:
>
> On 21 Oct 2013, at 23:02, Jonathan Halterman <jhalterman at gmail.com> wrote:
>
> > Should Channel.basicPublish throw when the exchange doesn't exist?
>
> No (although I agree it would be completely logical).
>
> Register a return listener and publish messages as mandatory. Also, take a
> look at publisher confirms.
>
> MK
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131021/94a955a2/attachment.htm>
More information about the rabbitmq-discuss
mailing list