camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebinsingh <ebenezer.si...@VerizonWireless.com>
Subject Re: Move does not work with file polling
Date Mon, 10 Oct 2011 19:19:08 GMT
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.

Mime
View raw message