[rabbitmq-discuss] Channel.basicPublish to a non-existent exchange does not throw
matthias at rabbitmq.com
Mon Oct 21 20:25:33 BST 2013
On 21/10/13 20:20, Jonathan Halterman wrote:
> I'm guessing I have to
> fallback to Channel.isOpen or wait for the ShutdownListener to be called?
That's racy. How long would you wait?
The reason that basicPublish doesn't return an error is because doing so
would require waiting for a response from the server, thus making
basicPublish synchronous and destroying performance.
More information about the rabbitmq-discuss