OpenStack library for messaging
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Hervé Beraud 391ce7fc69 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
(cherry picked from commit 4937949dff)
2 years ago
doc Correctly handle missing RabbitMQ queues 2 years ago
etc Fix spelling typo in output 8 years ago
oslo_messaging Correctly handle missing RabbitMQ queues 2 years ago
releasenotes Correctly handle missing RabbitMQ queues 2 years ago
tools Simplify tools/test-setup.sh 3 years ago
.coveragerc Update .coveragerc after the removal of respective directory 7 years ago
.gitignore Ignore releasenote cache within git untracked files 4 years ago
.gitreview Update .gitreview for stable/victoria 3 years ago
.stestr.conf Switch to stestr 5 years ago
.zuul.yaml Dropping lower constraints testing 2 years ago
CONTRIBUTING.rst Align contributing doc with oslo's policy 3 years ago
HACKING.rst Update URLs in documents according to document migration 6 years ago
LICENSE Add oslo.messaging project infrastructure 10 years ago
README.rst Replace git.openstack.org URLs with opendev.org URLs 4 years ago
babel.cfg Setup for translation 9 years ago
bindep.txt Simplify tools/test-setup.sh 3 years ago
requirements.txt [goal] Migrate testing to ubuntu focal 3 years ago
setup.cfg [goal] Migrate testing to ubuntu focal 3 years ago
setup.py remove outdated header 3 years ago
test-requirements.txt [goal] Migrate testing to ubuntu focal 3 years ago
tox.ini Dropping lower constraints testing 2 years ago

README.rst

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.