Is there a way in the java DSL to tell a scheduled route to only run one time?  
Not keep polling and running for the entire minute that matches the timer, 
wthout creating an external status value external to the DSL?  Something like 
the timers repeatcount?

IE this route runs as expected, on ever other minute, which it does, but it 
fires up many times during that minute, once the clock ticks to the next minute 
it stops, and starts again on the next minute… Is there a way in the DSL 
directly to let Camel know ONLY run this once during the matched time?  I tried 
putting a .delay(61000) into the route, but that had no effect.

from("scheduler:restart?scheduler=spring&scheduler.cron=*+*/2+*+*+*+?")
        .log("CRON RUN");


--
Sean Peck
UPMC Enterprises
Lead Software Engineer
pec...@upmc.edu<mailto:pec...@upmc.edu>
412 647 5624
“The answer is a question that I never will find out.”

Reply via email to