awips2/edexOsgi/com.raytheon.uf.edex.plugin.vil/res/spring/vil-ingest.xml
Richard Peter d38773fc03 Issue #2368: Update JMS routing to set message persistence and durability at the config level
Former-commit-id: 449692aeff [formerly b803359eb4] [formerly 5111debc92] [formerly 449692aeff [formerly b803359eb4] [formerly 5111debc92] [formerly a5a7816b98 [formerly 5111debc92 [formerly 9ac3d2ddbeee7265b9b7879fcc6efcee95281872]]]]
Former-commit-id: a5a7816b98
Former-commit-id: 21fb70a26a [formerly db69f5b54a] [formerly 30f0c6a3141bbd70f57d9187f7478aa7a8aecd56 [formerly bc169f0a04]]
Former-commit-id: 4a8c427f1c11daaee6646c7b4ca27cb08a82416c [formerly 7fe0220024]
Former-commit-id: 4effeb83ba
2013-09-15 13:44:17 -05:00

26 lines
No EOL
1.1 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="vilGenerator" class="com.raytheon.uf.edex.plugin.vil.VILGenerator"/>
<bean factory-bean="cpgSrvDispatcher" factory-method="register">
<constructor-arg ref="vilGenerator"/>
</bean>
<camelContext id="vil-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
<route id="VILGenerate">
<from uri="jms-durable:queue:vilGenerate"/>
<doTry>
<bean ref="serializationUtil" method="transformFromThrift" />
<bean ref="vilGenerator" method="generate" />
<doCatch>
<exception>java.lang.Throwable</exception>
<to uri="log:vil?level=ERROR"/>
</doCatch>
</doTry>
</route>
</camelContext>
</beans>