You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "uzdz (GitHub)" <gi...@apache.org> on 2018/10/26 03:06:00 UTC

[GitHub] [incubator-dubbo-spring-boot-project] uzdz commented on issue #297: @Reference注解引用重试问题

> ```java
> ConfigurableApplicationContext ctx = SpringApplication.run(ThirdpartyProxyApplication.class, args);
> ConsumerConfig consumerConfig = ctx.getBean(ConsumerConfig.class);
> if (null != consumerConfig) {
>     consumerConfig.setCheck(false);
>     consumerConfig.setRetries(0);
>     consumerConfig.setTimeout(2000);
> }
> ```
> 
> BTW, it may works, but i haven't tested it.

It is indeed available,but I just want to retry a reference.
@Reference annotations cannot be properly resolved.
I think it's a bug.

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/297 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org