on the wfo boxes and a centralSbnSimulator that runs on the centralRegistry box. Amend: Added excludes to sbnSimulator modes. Updated FileUtil.listPaths to close the stream and use a LinkedList. Added additional logging to SbnSimulator. Change-Id: I89ff7d4afdd18ba51b8fd4812bb0b871ffc6d3af Former-commit-id: f9e593974811896dec76c512c2a76b5769c7a68a
30 lines
No EOL
1.2 KiB
XML
30 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-3.1.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<bean id="sbnSimulator"
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.sbn.SbnSimulator" />
|
|
|
|
<camelContext id="SbnSimulator-context"
|
|
xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
|
|
<endpoint id="checkForSbnDataCron"
|
|
uri="quartz://datadelivery/sbnSimulator?cron=${sbnSimulator-checkForSbnData.cron}" />
|
|
|
|
<route id="distributeToSiteDirs">
|
|
<from uri="checkForSbnDataCron" />
|
|
<doTry>
|
|
<pipeline>
|
|
<bean ref="sbnSimulator" method="distributeToSiteDirs" />
|
|
</pipeline>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:SbnSimulator" />
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
</camelContext>
|
|
|
|
</beans> |