Appreciate your help.

For some reason each os the polling consumers poll for few seconds and then
terminate.

        context.addRoutes(new RouteBuilder() {
            public void configure() {
            
from("quartz://myTimer?trigger.repeatInterval=2000&trigger.repeatCount=-1")
                .setBody().simple("I was fired at ${header.fireTime}")
                .to("jms:queue:test_request_1");
            }
        });

I thought this would keep running, but the above route terminates after
sending out 3 messages with 2 seconds interval.

I want this to keep running until I kill the process.

I know am missing something, but am not able to figure that out.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Move-does-not-work-with-file-polling-tp4876472p4889423.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to