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

[GitHub] [incubator-dubbo] diecui1202 commented on issue #2651: 使用Java api 提前暴露服务, 导致后续filter 的setter方法未执行

The service is exported in init() method, which is before the ApplicationContext finishing initialization. Maybe this is the reason that RestTemplate can not be autowired.

Could you show us the reason why you need to export service so early ?

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