awips2/edexOsgi/com.raytheon.uf.edex.grid.staticdata/res/spring/grid-staticdata-process.xml
Brian.Dyke cfa4997978 OB_14.1.1-19 baseline
Former-commit-id: db2a591456383d8f980d33757e8c161bdcc01d3a
2014-02-21 06:50:59 -05:00

34 lines
1.4 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" autoStartup="false">
<!-- Begin Grid Process Route -->
<route id="gridTopoNotificationRoute">
<from uri="jms-generic:topic:edex.alerts?threadName=staticTopo-edex.alerts" />
<doTry>
<bean ref="serializationUtil" method="transformFromThrift" />
<bean ref="staticDataGenerator" method="processNotification"/>
<bean ref="toDataURI" method="toDataURI"/>
<to uri="vm:stageNotification"/>
<doCatch>
<exception>java.lang.Throwable</exception>
<to
uri="log:grid-staticdata?level=ERROR" />
</doCatch>
</doTry>
</route>
</camelContext>
<bean id="gridStaticDataProcessCamelRegistered" factory-bean="clusteredCamelContextMgr"
factory-method="register">
<constructor-arg ref="grid-staticdata-process" />
</bean>
</beans>