Hello,

I have a directory structure where I want to selectively process files while
leaving the filtered ones untouched. My route:

        from("file:///.../somedir?recursive=true&move=.done")
        .filter().simple("${file:onlyname} regex '.*[.]txt'")
        .process(new MyProcessor())
        .to(...);

So only files ending with a .txt-suffix should get processed which does
work. But Camel shall leave the remaining files at their source position.
How can I prevent Camel from moving them to .done?

Regards, mdo.





--
View this message in context: 
http://camel.465427.n5.nabble.com/File2-only-move-non-filtered-tp5731908.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to