Merge "Message was send to wrong node with use zmq as rpc_backend"

This commit is contained in:
Jenkins 2014-09-20 01:08:38 +00:00 committed by Gerrit Code Review
commit 5397da4de3
1 changed files with 2 additions and 0 deletions

View File

@ -939,6 +939,8 @@ class ZmqDriver(base.BaseDriver):
# NOTE(ewindisch): fanout~ is used because it avoid splitting on
# and acts as a non-subtle hint to the matchmaker and ZmqProxy.
topic = 'fanout~' + topic
elif target.server:
topic = '%s.%s' % (topic, target.server)
reply = _multi_send(method, context, topic, message,
envelope=envelope,