25 lines
1 KiB
XML
25 lines
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">
|
|
|
|
<camelContext id="siteActivation"
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler">
|
|
<route id="siteActivationRoute">
|
|
<from uri="jms-generic:topic:siteActivation" />
|
|
<doTry>
|
|
<bean ref="serializationUtil" method="transformFromThrift"/>
|
|
<bean ref="siteAwareRegistry" method="handleMessage" />
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to uri="log:siteActivation?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
</camelContext>
|
|
|
|
<bean id="siteAwareRegistry" class="com.raytheon.uf.edex.site.SiteAwareRegistry" factory-method="getInstance">
|
|
<property name="routeId" value="siteActivationRoute"/>
|
|
</bean>
|
|
</beans>
|
|
|