Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeignClient 中的failback熔断回调接口无效 #9

Open
JialiGeng opened this issue Jan 28, 2019 · 2 comments
Open

FeignClient 中的failback熔断回调接口无效 #9

JialiGeng opened this issue Jan 28, 2019 · 2 comments

Comments

@JialiGeng
Copy link

public class ProviderServiceFailback implements ProviderService {
@OverRide
public String hello() {
return "provier error!";
}
}

  1. 当ProviderServiceFailback 在dubbo扫描的包中时,启动后 http://localhost:28080/test 直接调用的是ProviderServiceFailback 实现类
  2. 当ProviderServiceFailback不在dubbo扫描的包中时,启动后 http://localhost:28080/test 不熔断,直接报错
@ElephantGF
Copy link

请问这个问题后来有得到解决吗?

@xiaohanfeidao
Copy link

使用hystrix的原生用法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants