Change-Id: Idf2238ddde88d2a88949c289302a73b8aaf752e9 Former-commit-id:26bdab715a
[formerlyc0df1b34bd
[formerly 3b29088641ed4b857b3eca55bc873b151dd86146]] Former-commit-id:c0df1b34bd
Former-commit-id:e2fb948ddd
29 lines
1.3 KiB
XML
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>
|