awips2/edexOsgi/com.raytheon.uf.edex.ohd/res/spring/satpre-spring.xml

32 lines
1.3 KiB
XML
Raw Normal View History

<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="satPreFilter" class="com.raytheon.uf.edex.ohd.pproc.SatPreURIFilter">
</bean>
<camelContext id="satPreFilter-context"
xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<route id="satPreIngestRoute">
<!-- Fed via notification -->
<from uri="jms-generic:queue:satPreFilter"/>
<doTry>
<pipeline>
<bean ref="serializationUtil" method="transformFromThrift" />
<bean ref="satPreFilter" method="matchURI"/>
<!-- <to uri="direct-vm:persistIndexAlert"/> -->
</pipeline>
<doCatch>
<exception>java.lang.Throwable</exception>
<to uri="log:satPre?level=ERROR"/>
</doCatch>
</doTry>
</route>
</camelContext>
<bean factory-bean="contextManager" factory-method="registerClusteredContext">
<constructor-arg ref="satPreFilter-context" />
</bean>
</beans>