You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "1996-gjq (GitHub)" <gi...@apache.org> on 2019/09/16 08:49:22 UTC
[GitHub] [dubbo-spring-boot-project] 1996-gjq opened issue #606: 异步调用问题
//1.
@Reference(version = "1.0" ,methods = {@Method(name = "say",async = true)})
SayHello sayHello;
public String hello(){
sayHello.say();
}
为什么调用say()方法时还是阻塞的?是我配置的问题吗?
//2.
@Reference(version = "1.0" ,methods = {@Method(name = "say",async = true)},async = true)
SayHello sayHello;
public String hello(){
sayHello.say();
}
如果这样配置所有方法都成了异步的?不能指定单个方法吗?
[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/606 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [dubbo-spring-boot-project] 1996-gjq commented on issue #606: 异步调用问题-2.7.3
Posted by "1996-gjq (GitHub)" <gi...@apache.org>.
很难用,不纠结了.
我还是用jdk的Future吧.
问题先挂这儿,有知道的大佬麻烦帮忙解答下,不胜感激!
[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/606 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [dubbo-spring-boot-project] mercyblitz commented on issue #606: 异步调用问题-2.7.3
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
It's considered to support the method-level annotation `@Method`
[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/606 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [dubbo-spring-boot-project] 1996-gjq closed issue #606: 异步调用问题
Posted by "1996-gjq (GitHub)" <gi...@apache.org>.
[ issue closed by 1996-gjq ]
[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/606 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [dubbo-spring-boot-project] 1996-gjq closed issue #606: 异步调用问题-2.7.3
Posted by "1996-gjq (GitHub)" <gi...@apache.org>.
[ issue closed by 1996-gjq ]
[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/606 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org