Hi See about the idempotentKey option to add the file timestamp or size etc as part of the key http://camel.apache.org/file2
On Tue, Sep 29, 2015 at 6:33 AM, hayden74 <hdr...@gmail.com> wrote: > Hi guys, > The issue I am having at the moment seems to be reported back in 2010 > as per this link > <http://camel.465427.n5.nabble.com/Identifying-and-processing-changed-file-when-noop-true-td478672.html> > . > > Just wondering if this has been resolved or considered as a bug? > > My use case is basically: > 1) process the file without moving it > 2) process the file only if it is modified > 3) it is okay to process same file again > > How can the below route be modified to meet the above criteria? > > from("file:src/data/?noop=true") > .to("file:target/messages/"); > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-component-to-only-process-files-if-modified-with-noop-true-tp5772074.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition