Explicitly name subscription queue for responses

This prevents response queues being abandoned but still bound to
the exchange with the same key as the newer queue.

Change-Id: Iee0465010a1c6d00e96fb672505688a0f763f86c
Closes-Bug: 1318742
This commit is contained in:
Gordon Sim 2014-05-20 14:27:06 +01:00
parent 84887ccee3
commit 25f3d9acc3
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,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(conf)