Merge "Ensure routing key is specified in the address for a direct producer"
This commit is contained in:
commit
dc5cb4a192
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user