[rabbitmq-discuss] Channel.basicPublish to a non-existent exchange does not throw
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?
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.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss