dubbo-demo-provider.xml 1.22 KB
<?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-2.5.xsd
        http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd
        " >
    <dubbo:application name="app01" />
    <dubbo:registry address="multicast://224.5.6.7:1234" />

<bean id="configuration" class="com.zhaoonline.microservice.framework.monitor.service.Configuration">
        <property name="delayTime" value="300"></property>
        <property name="flushSize" value="10"></property>
        <property name="queueSize" value="1024"></property>
         <property name="applicationName" value="proapp01"></property>
    </bean>
    
	<bean id="demoService" class="com.zhaoonline.microservice.framework.monitor.demo.DemoServiceImpl"/>

   <dubbo:service interface="com.zhaoonline.microservice.framework.monitor.demo.DemoService" ref="demoService">
        <dubbo:parameter key="traceEnable" value="true"/>
    </dubbo:service>
    
    
    
</beans>