camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdo <>
Subject File2: only move non-filtered
Date Thu, 02 May 2013 10:58:32 GMT

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

        .filter().simple("${file:onlyname} regex '.*[.]txt'")
        .process(new MyProcessor())

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:
Sent from the Camel - Users mailing list archive at

View raw message