<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
|
xmlns="http://www.springframework.org/schema/beans"
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd">
|
<dubbo:application name="main-consumer">
|
<dubbo:parameter key="qos.enable" value="true"></dubbo:parameter>
|
<dubbo:parameter key="qos.accept.foreign.ip" value="false"></dubbo:parameter>
|
<dubbo:parameter key="qos.port" value="33333"></dubbo:parameter>
|
</dubbo:application>
|
|
<dubbo:annotation package="com.yeshi.fanli"></dubbo:annotation>
|
|
<dubbo:registry address="zookeeper://193.112.35.168:2182"/>
|
|
<!-- url=dubbo://192.168.3.122:20882/com.yeshi.goods.facade.service.TaoBaoCouponCacheService -->
|
|
<dubbo:reference id="taoBaoCouponCacheService" interface="com.yeshi.goods.facade.service.TaoBaoCouponCacheService" check="false" version="1.0.0"/>
|
</beans>
|