Commit 659a7473 by lixiaozhong

批量发送时,修复dubbo发送接口未指定ip的问题

parent 908fa748
......@@ -105,6 +105,8 @@ public class ChannelSender {
batchSendMsgLocal(toClientIdAndPlatforms, msgJson);
} else {
String msgJson = JsonUtils.encodeJson(responseModel);
Address address = new Address(toIp, 20881);
RpcContext.getContext().setObjectAttachment("address", address);
routerSendService.batchSendMsgRemote(toClientIdAndPlatforms, msgJson);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment