Re: Camel Filter appears to delete files instead of leaving them be.

2014-08-22 Thread grimfury
Thanks Claus. I tried with putting noop=true like this As stated, the files did not delete - which is great. Unfortunately however, the non-gzipped file also did not delete. But we've found a working solution now, after looking at that file2 documentation: Implement GenericFileFilter and in

Camel Filter appears to delete files instead of leaving them be.

2014-08-21 Thread grimfury
Hi all, This task seems so easy and yet I can't get it done. The task is to look through the files in a directory and compress some which are older than a certain date, and leave the others untouched. I've attached all the code needed to run the test. The compression occurs but it deletes the oth