oslo.messaging/doc/source
Hervé Beraud 4937949dff Correctly handle missing RabbitMQ queues
Currently, setting the '[oslo_messaging] direct_mandatory_flag' config
option to 'True' (the default) will result in a 'MessageUndeliverable'
exception being raised when sending a reply if a RabbitMQ queue is
missing [1]. It was the responsibility of the application to handle
this exception, however, many applications are not doing so. This has
resulted in a number of bug reports.

Start handling this error condition, using a retry loop to attempt to
resend the message and work around any temporary glitches. Since
attempting to send a reply will will no longer raise an exception,
there is little benefit in retaining the '[oslo_messaging]
direct_mandatory_flag' config option: users setting this to False will
simply not benefit from the retry logic and improved logging added
here. This option is already deprecated though and will be fully
removed in a future release.

[1] https://www.rabbitmq.com/channels.html

Change-Id: Id5cddbefbe24ef100f1cc522f44430df77d217cb
Closes-Bug: #1905965
2021-02-04 09:47:08 +00:00
..
admin Correctly handle missing RabbitMQ queues 2021-02-04 09:47:08 +00:00
configuration fix 'configration' typo 2017-07-31 11:28:28 +01:00
contributor Fix typo in contributor docs title 2017-10-02 23:52:24 +00:00
reference Adding pre-commit 2020-09-22 12:35:37 +02:00
user rearrange content to fit the new standard layout 2017-07-06 03:19:38 +08:00
conf.py Adding pre-commit 2020-09-22 12:35:37 +02:00
index.rst Add release notes links to doc index 2020-04-16 15:30:22 +02:00