awips2/edexOsgi/com.raytheon.uf.edex.grid.staticdata/res/spring/grid-staticdata-process.xml
David Gillingham b0783b64ce Issue #2509: Fix static topo generation break caused by baseline merge.
Change-Id: I4300af81de44639a6ac55b968f18730f698e3b68

Former-commit-id: 09a2f9e3ccabc82cbea9556351bdc02bb1c350c7
2014-03-11 11:54:25 -05:00

28 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="staticDataGenerator"
class="com.raytheon.uf.edex.grid.staticdata.StaticDataGenerator"
factory-method="getInstance" />
<camelContext id="grid-staticdata-process" xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<!-- Begin Grid Process Route -->
<route id="gridStaticDataGenerationRoute">
<!-- Fed from plugin notification -->
<from uri="jms-durable:grid-staticdata-generate" />
<doTry>
<bean ref="serializationUtil" method="transformFromThrift" />
<bean ref="staticDataGenerator" method="processNotification"/>
<to uri="direct-vm:stageNotification"/>
<doCatch>
<exception>java.lang.Throwable</exception>
<to uri="log:grid-staticdata?level=ERROR" />
</doCatch>
</doTry>
</route>
</camelContext>
</beans>