Hi
I have written a sample program which will trigger the messages for every 10
sec and the program is as follows.
The issue i am facing is i am not able to see any action from the program
when executed.
Code:
public class QuartzFileCopierWithCamel {
public static void main(String args[]) throws Exception {
CamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilder() {
public void configure() {
from("quartz://report?cron=0/30 * * * * ?")
.to("file:data/inbox?noop=true")
.process(new Processor() {
@Override
public void process(Exchange arg0)
throws Exception {
System.out.println("Quartz
scheduler is started");
}
})
.to("file:data/outbox");
}
});
context.start();
Thread.sleep(3000);
System.out.println("context started and running");
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Need-Help-in-Quartz-Scheduler-tp5744239.html
Sent from the Camel - Users mailing list archive at Nabble.com.