You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Adriano Ferranti <ad...@live.com> on 2014/12/10 17:59:36 UTC

File renaming problems under Windows

Hello guys, 

I'm getting the same problem related  in
https://issues.apache.org/jira/browse/CAMEL-6756.  I mean, when the route
raises any exception, the file is not moved or deleted at the end of the
process.

I believe that occurred a misunderstanding about the correction of  issue
related above, since it was closed as the main problem would be the
AmbiguousMethodCallException, and it was given a solution for not raising
this exception. Besides the comment gave for the guy closing the bug was
"You should avoid keeping throw exception in the route.".

In this way, the root problem was not corrected, of course you can avoid
throwing exceptions and adapt your route to work in other way but in the
case of an unexpected exception, the problem will occur.