From e29b8aa672ddd5cb29e94cc6d73c62a1f0c657fe Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 20 May 2014 15:59:50 +0100 Subject: [PATCH] Explicitly name subscription queue This ensures that on reconnect the same queue is used rather than leaving it abandoned but still bound with the same routing key that will be used with the new queue. Change-Id: Ib76371a3b649688df395d7bf07f813a837b2313a Closes-Bug: 1318742 --- openstack/common/rpc/impl_qpid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/common/rpc/impl_qpid.py b/openstack/common/rpc/impl_qpid.py index 3920b9341..e196252a1 100644 --- a/openstack/common/rpc/impl_qpid.py +++ b/openstack/common/rpc/impl_qpid.py @@ -224,7 +224,7 @@ class DirectConsumer(ConsumerBase): elif conf.qpid_topology_version == 2: node_name = "amq.direct/%s" % msg_id node_opts = {} - link_name = None + link_name = msg_id else: raise_invalid_topology_version()