camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adriano Ferranti <adrianoferra...@live.com>
Subject File renaming problems under Windows
Date Wed, 10 Dec 2014 16:59:36 GMT
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.   


Mime
View raw message