Omaha #3277 Update smart init launcher to allow additional threads.
Change-Id: I118d905823bd8304f0e5ea2087a16d3d8ee075ce Former-commit-id: 475cb088596a89e3bd2818196e2f2e250930a95c
This commit is contained in:
parent
f2b4bcfef1
commit
584b7576af
3 changed files with 8 additions and 5 deletions
|
@ -415,7 +415,7 @@
|
|||
<endpoint id="exportDigitalDataCron" uri="clusteredquartz://gfe/exportDigitalData/?cron=${gfe.cron}"/>
|
||||
<endpoint id="gfeLogPurgeCron" uri="clusteredquartz://gfe/purgeGfeLogs/?cron=${purge.gfe.logs.cron}"/>
|
||||
<endpoint id="svcbuLogPurgeCron" uri="clusteredquartz://gfe/purgeSvcbuLogs/?cron=${purge.svcbu.logs.cron}"/>
|
||||
<endpoint id="iscSendLauncher" uri="timer://iscSendThread?repeatCount=1"/>
|
||||
<endpoint id="iscSendLauncher" uri="quartz://iscSendThread?trigger.repeatCount=0&trigger.repeatInterval=1"/>
|
||||
|
||||
<route id="exportDigitalData">
|
||||
<from uri="exportDigitalDataCron"/>
|
||||
|
|
|
@ -29,9 +29,12 @@
|
|||
<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}"/>
|
||||
<!-- TODO: This can be switched back to original thread count and use a bean to
|
||||
subtract one from the thread count once this issue has been fixed.
|
||||
https://issues.apache.org/jira/browse/CAMEL-7540 -->
|
||||
<endpoint id="smartInitLauncher" uri="quartz://smartInitThread?trigger.repeatCount=${smartinit.additional.threads}&trigger.repeatInterval=1"/>
|
||||
|
||||
<route id="SPCWatch">
|
||||
<from uri="vm:gfe.spcWatch"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# The number of smart init threads to use
|
||||
smartinit.threads=1
|
||||
# Will always have 1 smart init thread. This is the number of additional threads to start.
|
||||
smartinit.additional.threads=0
|
||||
|
||||
# interval to run exportDigitalData
|
||||
gfe.cron=0+15+*+*+*+?
|
||||
|
|
Loading…
Add table
Reference in a new issue