Hi there,

We need to run a job in certain time window only once a day and it also
depends on a trigger file. It needs to be also started if the application
started after the starting time point of the time window. Periodically
checking for the trigger file with a timeout as defined below fails us since
we don't know how to check the existence of the trigger after pollEnrich
times out. It always calls doSomething.

<route id="test">
<from uri="quartz://sodJob?stateful=true&amp;cron=0+*/5+3-6+?+*+*"/-->
     <pollEnrich uri="file:{{data_home}}/Bod?fileName=START"
timeout="60000"/>
      <transacted/>
      <to uri="bean:utilBean?method=doSomething"/>
 </route>

Any ideas how to check if the pollEnrich timed out or the trigger file
arrived?

Thanks in advance.



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-check-if-the-file-waiting-in-enricher-arrived-after-timeout-tp5753654.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to