Declare DirectPublisher exchanges with passive=True
If rabbit dies, the consumer can be disconnected before the publisher
sends, and if the consumer hasn't declared the queue, the publisher's
will send a message to an exchange that's not bound to a queue, and
the message wll be lost. Setting passive=True will cause the
publisher to fail and retry if the consumer hasn't declared the
receiving queue yet.
Reviewed: https:/ /review. openstack. org/109373 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=434b5c8781b 36cd65b7b642d72 3c0502e7093795
Committed: https:/
Submitter: Jenkins
Branch: master
commit 434b5c8781b36cd 65b7b642d723c05 02e7093795
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Jul 22 09:42:52 2014 -0700
Declare DirectPublisher exchanges with passive=True
If rabbit dies, the consumer can be disconnected before the publisher
sends, and if the consumer hasn't declared the queue, the publisher's
will send a message to an exchange that's not bound to a queue, and
the message wll be lost. Setting passive=True will cause the
publisher to fail and retry if the consumer hasn't declared the
receiving queue yet.
Co-Authored-By: Noel Burton-Krahn <email address hidden> d3a85a9f5badff6 1f12b08c12d
Closes-Bug: #1338732
Change-Id: I5ba4d311b97236