Merge "Ensure routing key is specified in the address for a direct producer"

This commit is contained in:
Jenkins 2014-04-17 05:20:51 +00:00 committed by Gerrit Code Review
commit dc5cb4a192
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,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