You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to publish a message to an exchange which does not exist, the blocking connection channel will not raise an exception until the next channel operation is attempted.
A workaround seems to be to call process_data_events() on the connection after the channel publish call.
The text was updated successfully, but these errors were encountered:
@leth, that's the nature of BlockingConnection. If you're not executing code in BlockingConnection, then it's not processing input either. If you're using RabbitMQ that supports Publisher Acknowledgements, then you can enable it on a given channel via channel.confirm_delivery(), and you should then get the "exchange not found" error before basic_publish returns.
Please see my earlier comments. This feature works as intended in BlockingConnection. SelectConnection and other asynchronous adapters can be more responsive if used appropriately in an I/O-bound applications.
If you try to publish a message to an exchange which does not exist, the blocking connection channel will not raise an exception until the next channel operation is attempted.
A workaround seems to be to call
process_data_events()
on the connection after the channel publish call.The text was updated successfully, but these errors were encountered: