Conflicts: cave/com.raytheon.viz.mpe.ui/src/com/raytheon/viz/mpe/ui/dialogs/RadarBiasTableDialog.java cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/gui/WarngenDialog.java cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/gui/WarngenLayer.java cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/template/TemplateRunner.java edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java edexOsgi/com.raytheon.uf.edex.activetable/src/com/raytheon/uf/edex/activetable/ActiveTable.java Former-commit-id: b209604e1f0d6e790980d0bc8f1760e38f448076
157 lines
6.2 KiB
XML
157 lines
6.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="smartInitQueue" class="com.raytheon.edex.plugin.gfe.smartinit.SmartInitQueue" factory-method="createQueue"/>
|
|
|
|
<bean id="gfeSitesActiveIngest" factory-bean="siteAwareRegistry" factory-method="register" depends-on="smartInitQueue">
|
|
<constructor-arg ref="gfeSiteActivation"/>
|
|
</bean>
|
|
|
|
<bean id="smartInitSrv" class="com.raytheon.edex.plugin.gfe.smartinit.SmartInitSrv" depends-on="gfeDbRegistered, gfeSitesActiveIngest">
|
|
<property name="pendingInitMinTimeMillis" value="120000"/>
|
|
<property name="runningInitTimeOutMillis" value="600000"/>
|
|
<property name="threadSleepInterval" value="30000"/>
|
|
</bean>
|
|
|
|
<bean factory-bean="contextManager" factory-method="registerContextStateProcessor">
|
|
<constructor-arg ref="gfe-camel-spring"/>
|
|
<constructor-arg ref="smartInitSrv"/>
|
|
</bean>
|
|
|
|
<bean id="spcWatch" class="com.raytheon.edex.plugin.gfe.watch.SPCWatchSrv" />
|
|
<bean id="tpcWatch" class="com.raytheon.edex.plugin.gfe.watch.TPCWatchSrv" />
|
|
<bean id="wclWatch" class="com.raytheon.edex.plugin.gfe.watch.WCLWatchSrv" />
|
|
|
|
<bean id="vtecChangeListener" class="com.raytheon.edex.plugin.gfe.server.notify.VTECTableChangeListener"/>
|
|
|
|
<camelContext id="gfe-camel-spring" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
<endpoint id="smartInitLauncher" uri="timer://smartInitThread?repeatCount=${smartinit.threads}"/>
|
|
|
|
<route id="SPCWatch">
|
|
<from uri="vm:gfe.spcWatch"/>
|
|
<doTry>
|
|
<bean ref="spcWatch" method="handleWatch" />
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:gfeWatch?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
<route id="TPCWatch">
|
|
<from uri="vm:gfe.tpcWatch"/>
|
|
<doTry>
|
|
<bean ref="tpcWatch" method="handleWatch" />
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:gfeWatch?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
<route id="WCLWatch">
|
|
<from uri="direct-vm:wclWatch"/>
|
|
<doTry>
|
|
<bean ref="wclWatch" method="handleWclWatch"/>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:gfeWatch?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
<route id="smartInitTrigger">
|
|
<from uri="timer://smartInitTimer?fixedRate=true&period=30000"/>
|
|
<bean ref="smartInitQueue" method="fireSmartInit"/>
|
|
</route>
|
|
|
|
<!-- Thread runs for life of context -->
|
|
<route id="smartInitThread">
|
|
<from ref="smartInitLauncher"/>
|
|
<bean ref="smartInitSrv" method="run"/>
|
|
</route>
|
|
|
|
<route id="gfeIngestNotification">
|
|
<!-- Data from plugin notification -->
|
|
<from
|
|
uri="jms-durable:queue:gfeDataURINotification"/>
|
|
<doTry>
|
|
<bean ref="serializationUtil" method="transformFromThrift"/>
|
|
<bean ref="ifpServer" method="filterDataURINotifications"/>
|
|
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:ifpServer?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
<route id="ifpServerPurgeNotification">
|
|
<from uri="jms-generic:queue:gfePurgeNotification"/>
|
|
<doTry>
|
|
<bean ref="ifpServer" method="pluginPurged"/>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:ifpServer?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
</camelContext>
|
|
|
|
<camelContext id="clusteredGfeIngestRoutes" xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler">
|
|
|
|
<!-- Smart Init Routes -->
|
|
<!-- main route now handled through the gfeIngestNotification -->
|
|
<route id="manualSmartInit">
|
|
<from uri="jms-durable:queue:manualSmartInit?threadName=smartInitManual" />
|
|
<doTry>
|
|
<bean ref="smartInitQueue" method="addManualInit"/>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:smartinit?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
<route id="gfeVtecChangeNotification">
|
|
<from uri="jms-generic:topic:edex.alerts.vtec?threadName=gfe-edex.alerts.vtec"/>
|
|
<doTry>
|
|
<bean ref="serializationUtil" method="transformFromThrift"/>
|
|
<bean ref="vtecChangeListener" method="handleNotification"/>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:vtecChangeListener?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
<!-- Convert the topic into a queue so only one consumer gets each message and we still have competing consumers. -->
|
|
<route id="gfePurgeNotificationQueueRoute">
|
|
<from uri="jms-generic:topic:pluginPurged"/>
|
|
<doTry>
|
|
<to uri="jms-generic:queue:gfePurgeNotification"/>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:ifpServer?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
|
|
</camelContext>
|
|
|
|
<bean factory-bean="contextManager" factory-method="registerClusteredContext">
|
|
<constructor-arg ref="clusteredGfeIngestRoutes"/>
|
|
</bean>
|
|
</beans>
|