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 2022/04/06 03:24:08 UTC

[GitHub] [dubbo] Jimy-Guo opened a new issue, #9896: 在拦截器中使用@DubboReference(timeout=5000,registry={"registryConfig"},filter = {"consumerTraceLogFilter"})去调用服务时,会出现空bean的情况

Jimy-Guo opened a new issue, #9896:
URL: https://github.com/apache/dubbo/issues/9896

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ## Ask your question here
   在升级alibaba.dubbo-2.6.2到apache.dubbo-3.0.6途中,出现将@Reference(timeout=5000,registry={"registryConfig"},filter = {"consumerTraceLogFilter"})改为@DubboReference(timeout=5000,registry={"registryConfig"},filter = {"consumerTraceLogFilter"})之后,程序启动正常,但是在调用的期间出现拦截器中的调用的服务的bean映射为空,导致调用报错。
   
       @DubboReference(timeout=5000,registry={"registryConfig"},filter = {"consumerTraceLogFilter"})
   	private TokenService tokenService;
   ![image](https://user-images.githubusercontent.com/50988723/161889686-4cf510c8-f833-493b-a4b6-ca87678efec6.png)
   
   
   ![image](https://user-images.githubusercontent.com/50988723/161889612-e9ce69ff-cd52-4c8d-b2e1-cf347844ce18.png)
   
   是哪里需要额外的修改呢?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [dubbo] Jimy-Guo closed issue #9896: 在拦截器中使用@DubboReference(timeout=5000,registry={"registryConfig"},filter = {"consumerTraceLogFilter"})去调用服务时,会出现空bean的情况

Posted by GitBox <gi...@apache.org>.
Jimy-Guo closed issue #9896: 在拦截器中使用@DubboReference(timeout=5000,registry={"registryConfig"},filter = {"consumerTraceLogFilter"})去调用服务时,会出现空bean的情况
URL: https://github.com/apache/dubbo/issues/9896


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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