Reviewed: https://review.openstack.org/195688 Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=b6b6edca4672cd5a6570c79f0480af286af09386 Submitter: Jenkins Branch: stable/juno
commit b6b6edca4672cd5a6570c79f0480af286af09386 Author: Mehdi Abaakouk <email address hidden> Date: Tue May 5 10:29:22 2015 +0200
rabbit: redeclare consumers when ack/requeue fail
In case the acknowledgement or requeue of a message fail, the kombu transport can be disconnected
In this case, we must redeclare our consumers.
This changes fixes that.
This have no tests because the kombu memory transport we use in our tests cannot be in disconnected state.
Closes-bug: #1448650
(cherry picked from commit 415db68b67368d7c8aa550e7108122200816e665)
Conflicts are due to the refactoring to oslo_messaging namespace.
Conflicts: oslo_messaging/_drivers/impl_rabbit.py oslo_messaging/tests/drivers/test_impl_rabbit.py
Change-Id: I5991a4cf827411bc27c857561d97461212a17f40
Reviewed: https:/ /review. openstack. org/195688 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=b6b6edca467 2cd5a6570c79f04 80af286af09386
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit b6b6edca4672cd5 a6570c79f0480af 286af09386
Author: Mehdi Abaakouk <email address hidden>
Date: Tue May 5 10:29:22 2015 +0200
rabbit: redeclare consumers when ack/requeue fail
In case the acknowledgement or requeue of a message fail,
the kombu transport can be disconnected
In this case, we must redeclare our consumers.
This changes fixes that.
This have no tests because the kombu memory transport we use in our tests
cannot be in disconnected state.
Closes-bug: #1448650
(cherry picked from commit 415db68b67368d7 c8aa550e7108122 200816e665)
Conflicts are due to the refactoring to oslo_messaging namespace.
Conflicts: messaging/ _drivers/ impl_rabbit. py messaging/ tests/drivers/ test_impl_ rabbit. py
oslo_
oslo_
Change-Id: I5991a4cf827411 bc27c857561d974 61212a17f40