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/10/26 03:06:00 UTC

[GitHub] uzdz commented on issue #297: @Reference注解引用重试问题

uzdz commented on issue #297: @Reference注解引用重试问题
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/297#issuecomment-433271574
 
 
   > ```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.

----------------------------------------------------------------
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