<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>