44 lines
No EOL
1.8 KiB
XML
44 lines
No EOL
1.8 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.xsd
|
|
http://camel.apache.org/schema/spring
|
|
http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<bean id="sfcobsDecoder" class="com.raytheon.edex.plugin.sfcobs.SfcObsDecoder" />
|
|
<bean id="sfcobsSeparator" class="com.raytheon.edex.plugin.sfcobs.SfcObsSeparator" />
|
|
|
|
<bean id="sfcobsPointData" class="com.raytheon.edex.plugin.sfcobs.SfcObsPointDataTransform">
|
|
<constructor-arg ref="sfcobsPluginName" />
|
|
</bean>
|
|
|
|
<bean id="sfcobsDistRegistry" factory-bean="distributionSrv" factory-method="register">
|
|
<constructor-arg value="sfcobs" />
|
|
<constructor-arg value="jms-durable:queue:Ingest.sfcobs" />
|
|
</bean>
|
|
|
|
<camelContext id="sfcobs-camel" xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler">
|
|
|
|
<!-- Begin sfcobs routes -->
|
|
<route id="sfcobsIngestRoute">
|
|
<from uri="jms-durable:queue:Ingest.sfcobs" />
|
|
<setHeader name="pluginName">
|
|
<constant>sfcobs</constant>
|
|
</setHeader>
|
|
<bean ref="stringToFile" />
|
|
<doTry>
|
|
<pipeline>
|
|
<bean ref="sfcobsDecoder" method="decode" />
|
|
<bean ref="dupElim" />
|
|
<bean ref="sfcobsPointData" method="toPointData" />
|
|
<to uri="direct-vm:persistIndexAlert" />
|
|
</pipeline>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to uri="log:sfcobs?level=ERROR" />
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
</camelContext>
|
|
</beans> |