33 lines
No EOL
1.2 KiB
XML
33 lines
No EOL
1.2 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="mpeTestDriver" class="com.raytheon.uf.edex.plugin.mpe.test.core.TestDriver" />
|
|
|
|
<!--
|
|
MPE Verification Routes. Runs a process to verify that data produced
|
|
by the new route matches data produced by the native route. Setup to
|
|
run every hour for the previous hour.
|
|
-->
|
|
<camelContext id="mpeTestVerifyTrigger-context" xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler">
|
|
|
|
<endpoint id="mpeTestVerifyCron"
|
|
uri="clusteredquartz://mpe/mpeTestVerifyScheduled/?cron=0+0+*+*+*+?" />
|
|
|
|
<route id="mpeTestVerifyScheduled">
|
|
<from uri="mpeTestVerifyCron" />
|
|
<doTry>
|
|
<bean ref="mpeTestDriver" method="runTests" />
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to uri="log:mpeTestVerify?level=ERROR" />
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
</camelContext>
|
|
</beans> |