Hi Read about idempotentKey at http://camel.apache.org/file2
On Fri, Oct 24, 2014 at 6:39 PM, rpcat <rpcata...@gmail.com> wrote: > I have a readonly source for a file consumer so I'm using noop true which > gets me idempotent in memory store. However sometimes they will redrop an > update with the same name. Please direct me to how to modify the idempotent > store to account for filename and timestamp. Or is there a better way? > > String fileUri = "file:" + srcPath+"?startingDirectoryMustExist=true" > + "&readLock=changed" > + "&readLockCheckInterval=5000" > + "&readLockMarkerFile=false" > + "&filter=#hoursFileFilter" > + "&delay=" + delay > + "&include="+include > + "&noop=true"; > > thanks, > Rachel > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/read-only-file-source-has-updated-files-with-the-same-name-tp5758001.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/