awips2/edexOsgi/com.raytheon.uf.edex.datadelivery.request/res/spring/request-router.xml
Steve Harris ef413da5f7 13.3.1-17 baseline
Former-commit-id: f28b85d42f [formerly 7bf9966dcb] [formerly a3fe998f8f [formerly 0eb0081dbf1af625ca75e98ab775247c924c3527]]
Former-commit-id: a3fe998f8f
Former-commit-id: 4afa41d4e7
2013-04-01 12:04:56 -05:00

51 lines
No EOL
2.5 KiB
XML

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
<bean id="requestDataDeliveryRouter" class="com.raytheon.uf.edex.auth.RemoteServerRequestRouter">
<constructor-arg value="${datadelivery.server}" />
</bean>
<bean id="requestRegistryRouter" class="com.raytheon.uf.edex.auth.RemoteServerRequestRouter">
<constructor-arg value="${ebxml.registry.service}" />
</bean>
<!-- Registers the IRequestRouter handler for data delivery -->
<bean id="registerRequestDataDeliveryRouter" factory-bean="requestRouterRegistry" factory-method="register">
<constructor-arg ref="dataDeliveryServerKey" />
<constructor-arg ref="requestDataDeliveryRouter" />
</bean>
<bean id="registerRequestRegistryRouter" factory-bean="requestRouterRegistry" factory-method="register">
<constructor-arg ref="ebxmlRegistryServiceKey" />
<constructor-arg ref="requestRegistryRouter" />
</bean>
<!-- Registry service location registration -->
<bean factory-bean="serverLocationRegistry" factory-method="register">
<constructor-arg ref="ebxmlRegistryServiceKey" />
<constructor-arg value="${ebxml.registry.service}" />
</bean>
<bean factory-bean="serverLocationRegistry" factory-method="register">
<constructor-arg ref="ebxmlLcmServiceKey" />
<constructor-arg value="${ebxml.registry.lcm.service}" />
</bean>
<bean factory-bean="serverLocationRegistry" factory-method="register">
<constructor-arg ref="ebxmlQueryServiceKey" />
<constructor-arg value="${ebxml.registry.query.service}" />
</bean>
<!-- Data Delivery server location registration -->
<bean factory-bean="serverLocationRegistry" factory-method="register">
<constructor-arg ref="dataDeliveryServerKey" />
<constructor-arg value="${datadelivery.server}" />
</bean>
</beans>