awips2/edexOsgi/com.raytheon.uf.edex.cpgsrv/res/spring/cpgsrv-spring.xml
Richard Peter a25a7bdeaf Issue #2726: Remove CPG forwarding route
Change-Id: Idf2238ddde88d2a88949c289302a73b8aaf752e9

Former-commit-id: 27c050a67d [formerly e2fb948ddd] [formerly c0df1b34bd] [formerly 27c050a67d [formerly e2fb948ddd] [formerly c0df1b34bd] [formerly 26bdab715a [formerly c0df1b34bd [formerly 3b29088641ed4b857b3eca55bc873b151dd86146]]]]
Former-commit-id: 26bdab715a
Former-commit-id: 460085d4b6 [formerly 6b93e3bbe4] [formerly eb2d2b30bd68ef6d4376827f246f23bc28338fac [formerly 0258f6a612]]
Former-commit-id: 22d359bcab9ea9f1e51a754fa70bbb3349b27ad0 [formerly 6a171e97ff]
Former-commit-id: d828e5c37c
2014-04-17 15:07:11 -05:00

29 lines
1.3 KiB
XML

<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="cpgSrvDispatcher" class="com.raytheon.uf.edex.cpgsrv.CPGDispatcher" depends-on="commonTimeRegistered"/>
<camelContext id="clusteredCpgSrvRoutes"
xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<route id="cpgsrvListenerRoute">
<!-- Data from plugin notification -->
<from uri="jms-durable:queue:cpgsrvFiltering?concurrentConsumers=5"/>
<doTry>
<pipeline>
<bean ref="serializationUtil" method="transformFromThrift" />
<bean ref="cpgSrvDispatcher" method="matchURIs"/>
</pipeline>
<doCatch>
<exception>java.lang.Throwable</exception>
<to uri="log:cpgSrv?level=ERROR"/>
</doCatch>
</doTry>
</route>
</camelContext>
<bean factory-bean="contextManager" factory-method="registerClusteredContext">
<constructor-arg ref="clusteredCpgSrvRoutes" />
</bean>
</beans>