You're absolutely correct Willem, I had to close the inputstream and no exception more is raised, thanks!
One more question, am I correct to assume that the "moveFailed" folder is only applied if there is any exception in the processing not the endpoint? I wanted to move the file directly to the failed folder but only if there was an exception in the end point. I have the following case: Routing from a FilePoller to a Service that opens another file with the same name but other extension. If this file doesn't exist, obviously it throws an Exception. Now, the thing is that indeed the initial file was correctly delivered from startPoint to endPoint through Camel, but there was a Exception in the endPoint so Camel moves my file to the .done folder because it was successfully delivered where in my opinion it should move to the failed folder. Any way to force him to move to a failed folder if there is an exception on the service? Thanks again! -- View this message in context: http://camel.465427.n5.nabble.com/PROBLEM-GenericFileOperationFailedException-Cannot-rename-file-tp3409728p3412507.html Sent from the Camel - Users mailing list archive at Nabble.com.
