You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "beiwei30 (GitHub)" <gi...@apache.org> on 2019/03/12 08:42:39 UTC
[GitHub] [incubator-dubbo] beiwei30 opened issue #3638: injvm and
local call
injvm protocol doesn't work well with scope.
### injvm should not be registered to register center
```xml
<dubbo:protocol name="injvm"/>
<bean id="target" class="org.apache.dubbo.samples.provider.GreetingsServiceImpl"/>
<dubbo:service interface="org.apache.dubbo.samples.api.GreetingsService" ref="target" protocol="injvm"/>
```
injvm url is registered
### local call doesn't work when protocol is injvm
The following configuration is supposed to work but dubbo complains no provider found from registry center.
```xml
<dubbo:protocol name="injvm"/>
<bean id="target" class="org.apache.dubbo.samples.provider.GreetingsServiceImpl"/>
<dubbo:service interface="org.apache.dubbo.samples.api.GreetingsService" ref="target" scope="local" protocol="injvm"/>
<dubbo:reference id="demoService" interface="org.apache.dubbo.samples.api.GreetingsService" scope="local"/>
```
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3638 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] Leishunyu commented on issue #3638: injvm
and local call
Posted by "Leishunyu (GitHub)" <gi...@apache.org>.
I reproduced your problem and made changes to the injvm export.Will submit a pr fix this bug in the near future
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3638 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] lkj41110 commented on issue #3638: injvm
and local call
Posted by "lkj41110 (GitHub)" <gi...@apache.org>.
I try to reproduce the problem with your config, but it fails.
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3638 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org