|
|
@@ -3,15 +3,21 @@
|
|
|
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.xsd
|
|
|
http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
|
|
|
-
|
|
|
+
|
|
|
<dubbo:application name="search_provider" owner="${dubbo.owner}" />
|
|
|
-
|
|
|
+
|
|
|
<dubbo:registry address="zookeeper://10.10.100.11:2181" />
|
|
|
-
|
|
|
+
|
|
|
<dubbo:protocol name="dubbo" port="20880" />
|
|
|
-
|
|
|
+
|
|
|
<bean id="searchService" class="com.uas.search.console.service.impl.SearchServiceImpl" />
|
|
|
-
|
|
|
- <dubbo:service interface="com.uas.search.service.SearchService" ref="searchService" group="${dubbo.group}" />
|
|
|
-
|
|
|
+
|
|
|
+ <bean id="orderSearchService"
|
|
|
+ class="com.uas.search.console.service.impl.OrderSearchServiceImpl" />
|
|
|
+
|
|
|
+ <dubbo:service interface="com.uas.search.service.SearchService"
|
|
|
+ ref="searchService" group="${dubbo.group}" />
|
|
|
+
|
|
|
+ <dubbo:service interface="com.uas.search.service.OrderSearchService"
|
|
|
+ ref="orderSearchService" group="${dubbo.group}" />
|
|
|
</beans>
|