On Thu, Sep 27, 2012 at 1:39 PM, ddelizia <danilo.deli...@unic.com> wrote: > 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?
And you are sure there is a file on the ftp server the 2nd time, with the given filename you are requesting? > > > > -- > 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. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen