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 other files that do have to be compressed. If I move the files to a different directory, it works ok - BUT I don't want to have to do that. Appreciate any help on this. My filter class is shown here: And here is my spring-camel context xml I'm also attaching here my JUnit test so that it's easy to run -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Filter-appears-to-delete-files-instead-of-leaving-them-be-tp5755540.html Sent from the Camel - Users mailing list archive at Nabble.com.