Merge "Ensure routing key is specified in the address for a direct producer" into stable/icehouse

This commit is contained in:
Jenkins 2014-06-11 14:15:25 +00:00 committed by Gerrit Code Review
commit 4020d018cd
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ class DirectPublisher(Publisher):
"""Init a 'direct' publisher."""
if conf.qpid_topology_version == 1:
node_name = msg_id
node_name = "%s/%s" % (msg_id, msg_id)
node_opts = {"type": "direct"}
elif conf.qpid_topology_version == 2:
node_name = "amq.direct/%s" % msg_id