Former-commit-id:06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f] Former-commit-id:9f19e3f712
39 lines
No EOL
1.6 KiB
XML
39 lines
No EOL
1.6 KiB
XML
<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-2.0.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="qpeGenService" class="com.raytheon.uf.edex.ohd.pproc.ArealQpeGenSrv">
|
|
</bean>
|
|
<camelContext id="clustered-arealQpeGen-context"
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler"
|
|
autoStartup="false">
|
|
|
|
<endpoint id="qpeCron" uri="clusteredquartz://pproc/qpeGenScheduled/?cron=${arealqpegen.cron}"/>
|
|
|
|
<!-- Run ArealQPEGen on Scheduled timer -->
|
|
<route id="qpeScheduled">
|
|
<from uri="qpeCron" />
|
|
<to uri="jms-generic:queue:qpeGenScheduledWork" />
|
|
</route>
|
|
|
|
<route id="qpeGenScheduledWork">
|
|
<from uri="jms-generic:queue:qpeGenScheduledWork" />
|
|
<doTry>
|
|
<bean ref="qpeGenService" method="processArealQpe" />
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to uri="log:arealQpeGen?level=ERROR&showBody=false&showCaughtException=true&showStackTrace=true"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
</camelContext>
|
|
<bean factory-bean="clusteredCamelContextMgr"
|
|
factory-method="register">
|
|
<constructor-arg ref="clustered-arealQpeGen-context" />
|
|
</bean>
|
|
|
|
</beans> |