hi. after setting repeatcount=1 then also my scheduler is continuously
running.. i dont know where i made mistake.
this is my code.
public class Schedule {
public String SayService(String msg) {
return (msg);
}
public static void main(String args[])throws Exception
{
CamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilder() {
public void configure() {
from("quartz2://myGroup/myTimerName?cron=0+0+*+*+*+?&trigger.repeatCount=1").bean(new
Schedule(), "SayService('dd')");
}
});
context.start();
}
}
i dont know why this running continuous.even after setting repeat=1.
--
View this message in context:
http://camel.465427.n5.nabble.com/after-setting-trigger-repeatCount-1-then-also-going-to-infinite-scheduler-tp5743361.html
Sent from the Camel - Users mailing list archive at Nabble.com.