体验新版 GitCode,发现更多精彩内容 >>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<!-- 这里的配置将覆盖properties里的配置 -->
<!--<!– 提供方应用信息,用于计算依赖关系 –>--> <!--<dubbo:application name="whatsmars_consumer" />--> <!--<!– 使用zookeeper注册中心暴露服务地址 –>--> <!--<dubbo:registry address="zookeeper://127.0.0.1:2181" />-->
<dubbo:reference id="demoService" interface="org.hongxi.whatsmars.dubbo.demo.api.DemoService" retries="2" />
</beans>