2012-01-06 08:55:05 -06:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2013-05-23 11:12:49 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2013-05-29 14:49:43 -05:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
2012-01-06 08:55:05 -06:00
|
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
|
|
|
|
|
|
|
|
<bean id="dqcPreprocService" class="com.raytheon.uf.edex.ohd.pproc.DqcPreProcSrv" />
|
|
|
|
|
|
|
|
<camelContext id="dqcPreproc-context"
|
|
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
|
|
errorHandlerRef="errorHandler">
|
|
|
|
|
|
|
|
<endpoint id="dqcPreprocCron" uri="clusteredquartz://pproc/dqcPreprocScheduled/?cron=${dqcpreprocessor.cron}"/>
|
|
|
|
|
|
|
|
<!-- Run dqcPreproc on Scheduled timer -->
|
|
|
|
<route id="dqcPreprocScheduled">
|
|
|
|
<from uri="dqcPreprocCron" />
|
|
|
|
<to uri="jms-generic:queue:dqcPreprocScheduledWork" />
|
|
|
|
</route>
|
|
|
|
|
|
|
|
<route id="dqcPreprocScheduledWork">
|
|
|
|
<from uri="jms-generic:queue:dqcPreprocScheduledWork" />
|
|
|
|
<doTry>
|
|
|
|
<bean ref="dqcPreprocService" method="runDQCPreproc" />
|
|
|
|
<doCatch>
|
|
|
|
<exception>java.lang.Throwable</exception>
|
2013-06-19 09:20:50 -05:00
|
|
|
<to uri="log:dqcPreprocessor?level=ERROR"/>
|
2012-01-06 08:55:05 -06:00
|
|
|
</doCatch>
|
|
|
|
</doTry>
|
|
|
|
</route>
|
|
|
|
|
|
|
|
</camelContext>
|
|
|
|
|
|
|
|
</beans>
|