You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by il...@apache.org on 2019/03/26 07:45:41 UTC
[incubator-dubbo-samples] branch master updated: correct stub
configuration
This is an automated email from the ASF dual-hosted git repository.
iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-samples.git
The following commit(s) were added to refs/heads/master by this push:
new fe76ab6 correct stub configuration
fe76ab6 is described below
commit fe76ab67b7654ff53c484468c90d3f53c3572bfb
Author: Ian Luo <ia...@gmail.com>
AuthorDate: Tue Mar 26 15:45:19 2019 +0800
correct stub configuration
---
dubbo-samples-stub/src/main/resources/spring/stub-consumer.xml | 2 +-
dubbo-samples-stub/src/main/resources/spring/stub-provider.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dubbo-samples-stub/src/main/resources/spring/stub-consumer.xml b/dubbo-samples-stub/src/main/resources/spring/stub-consumer.xml
index deeb54c..9eab897 100644
--- a/dubbo-samples-stub/src/main/resources/spring/stub-consumer.xml
+++ b/dubbo-samples-stub/src/main/resources/spring/stub-consumer.xml
@@ -33,6 +33,6 @@
<!-- generate proxy for the remote service, then demoService can be used in the same way as the
local regular interface -->
- <dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.samples.stub.api.DemoService"/>
+ <dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.samples.stub.api.DemoService" stub="true"/>
</beans>
diff --git a/dubbo-samples-stub/src/main/resources/spring/stub-provider.xml b/dubbo-samples-stub/src/main/resources/spring/stub-provider.xml
index 80389fb..155aea2 100644
--- a/dubbo-samples-stub/src/main/resources/spring/stub-provider.xml
+++ b/dubbo-samples-stub/src/main/resources/spring/stub-provider.xml
@@ -37,6 +37,6 @@
<bean id="demoService" class="org.apache.dubbo.samples.stub.impl.DemoServiceImpl"/>
<!-- declare the service interface to be exported -->
- <dubbo:service interface="org.apache.dubbo.samples.stub.api.DemoService" ref="demoService" stub="true"/>
+ <dubbo:service interface="org.apache.dubbo.samples.stub.api.DemoService" ref="demoService"/>
</beans>
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org