Correction....
It works just the first time, the second time the enrichpool is waiting
untill the timeout expire, it seems that the idempotent= false has no
effect.

                from(
                                "jetty:http://0.0.0.0:"; + jettyPort + "/" +
jettyControllerPathIncremental)
                                //.pollEnrich()
                                .pollEnrich(ftpResourceType + "://" + 
ftpResourceUsername + "@"+
ftpResourceUrl + ftpResourcePathIncremental+ "?password=" +
ftpResourcePassword + "&fileName="      + ftpResourceFilenameIncremental+
"&noop=true&idempotent=false", 1000000)
                                .to("file:/opt/?fileName=local.txt");

I'm using the 2.8 version of camel

Any Idea?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Route-consuming-the-same-file-does-not-start-the-second-time-that-it-is-ran-tp5720095p5720118.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to