Re: consume existing(already consumed) files on modifed date or size

2013-11-27 Thread Claus Ibsen
If you use noop=true then you need to use idempotentKey to tell Camel that file size / timestamp can denote a new file. See more details at idempotentKey http://camel.apache.org/file2 And mind there was a bug that was just fixed in the upcoming 2.12.2 release, and 2.11.3 what is on the way. On T

Re: consume existing(already consumed) files on modifed date or size

2013-11-26 Thread Tobias Hinz
eek, something got lost: public void configure() { CsvDataFormat csv = new CsvDataFormat(); csv.setDelimiter("\t"); from("file:///data/csv/test/?charset=ISO8859-1&noop=true&moveFailed=.error/${file:name.noext}-${date:now:MMddHHmmssSSS}.${file:ext}") .sp