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 2018/07/13 09:27:44 UTC

[GitHub] diecui1202 commented on issue #2054: anonymous inner class doesn't work in callback.

diecui1202 commented on issue #2054: anonymous inner class doesn't work in callback.
URL: https://github.com/apache/incubator-dubbo/issues/2054#issuecomment-404779492
 
 
   @L-Angel I think you need to set the url as `dubbo://127.0.0.1:20882?hello.1.callback=true`.
   
   By the way, the callback invoke mechanism can export only one callback service provider, and then the provider side refer the callback service to invoke with sync or async. So your demo is not correct, you can only register the callback once. 
   
   Maybe this blog can help you understand the callback invoke mechanism. http://dubbo.apache.org/#/blog/dubbo-invoke.md?lang=zh-cn
   
   Feel free to reopen it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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