freegaga commented on issue #10165:
URL: https://github.com/apache/dubbo/issues/10165#issuecomment-1168687053
这里面是请求的业务实现的,你可以查一下你的服务端实现是不是有问题
------------------------------------------------------------------------------------
@AlbumenJ
我查了下服务端没有什么问题,
现在我是通过如下方法解决的。但是这种方法不是很好,
`
AtomicBoolean flag = flagMap.get(group);
if(null == flag || !flag.get()){//第一次调用
result = (Map<String, Object>) genericService.$invoke(method,
new String[]{param.getClass().getName()}, new
Object[]{PojoUtils.generalize(param)});
flag = new AtomicBoolean(true);
flagMap.put(group,flag);
}else{//非第一次调用
result = (Map<String, Object>) genericService.$invoke(method,
new String[]{param.getClass().getName()}, new
Object[]{JSONObject.toJSONString(param)});
}
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]