Former-commit-id:3cd0b2dfc6
[formerly894d2425b2
] [formerly73dd0f166c
] [formerly3cd0b2dfc6
[formerly894d2425b2
] [formerly73dd0f166c
] [formerly542b2c3d18
[formerly73dd0f166c
[formerly a362ca91ee5972a1501a2842191fbe2e23feac9c]]]] Former-commit-id:542b2c3d18
Former-commit-id:b4e006162f
[formerly43af1b227a
] [formerly 43ff166b6d3df833e29603f504019d7b3776a1d1 [formerly4ecb349ed8
]] Former-commit-id: 551ebb34fc0bd9a337eef969bbbeff276486196a [formerly4a9a91ce2e
] Former-commit-id:1900cef156
41 lines
No EOL
1.6 KiB
Text
41 lines
No EOL
1.6 KiB
Text
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:amq="http://activemq.apache.org/schema/core" 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://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<bean id="trig1minCalc" class="gov.noaa.nws.ncep.edex.plugin.geomag.TrigKCalculation" />
|
|
|
|
<camelContext id="geomag-camel"
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler"
|
|
autoStartup="false">
|
|
|
|
<endpoint id="geomagFileEndpoint" uri="file:${edex.home}/data/sbn/geomag?noop=true&idempotent=false" />
|
|
|
|
<route id="geomagFileConsumerRoute">
|
|
<from ref="geomagFileEndpoint" />
|
|
<bean ref="fileToString" />
|
|
<setHeader headerName="pluginName">
|
|
<constant>geomag</constant>
|
|
</setHeader>
|
|
<to uri="jms-generic:queue:Ingest.GeoMag" />
|
|
</route>
|
|
|
|
<route id="geomagCalcRoute">
|
|
<from uri="jms-generic:topic:edex.alerts"/>
|
|
<doTry>
|
|
<pipeline>
|
|
<bean ref="serializationUtil" method="transformFromThrift" />
|
|
<bean ref="trig1minCalc" method="trig1min"/>
|
|
</pipeline>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to uri="log:geomag?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
</camelContext>
|
|
|
|
</beans> |