You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/06/27 02:32:38 UTC

[GitHub] [dubbo] chenzfp commented on issue #4282: 升级到2.7.2后,怎么没有RpcResult类了?用什么代替呢?

chenzfp commented on issue #4282:
URL: https://github.com/apache/dubbo/issues/4282#issuecomment-1166765249

   > 本人亲测有效:具体代码如下 CompletableFuture b = new CompletableFuture (); AsyncRpcResult asyncRpcResult = new AsyncRpcResult(b,invocation); asyncRpcResult.setValue(baseObject); return asyncRpcResult; 可以返回成功,实现dubbo接口拦截,并自由组装返回值
   
   这样组装,comsumer端,可以序列化成功吗,还是说每个方法都定义相同根结构的返回


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org