I logged a ticket about the problem with moving to failed due the
stream is locked.
https://issues.apache.org/jira/browse/CAMEL-6627

The reason is that you have stopOnExcepition=true, and the splitter
EIP didn't close the stream at this point, only at the end.

This problem is only on windows platforms where the windows file
system will lock the file.

On Mon, Aug 12, 2013 at 11:08 AM, atluris <[email protected]> wrote:
> shareUnitOfWork=true moved file to 'moveFailed' directory, but onException (
> onException(Exception.class).to("direct:handleFailure"); ) is not invoked. I
> tried deadLetterChannel(
> errorHandler(deadLetterChannel("direct:handleUFMFailure")); ) instead.
> handleUFMFailure is invoked this time, but file is moved to 'move' directory
> instead of 'moveFailed'.
>
> I want "direct:handleFailure" to be invoked along with moving file to error
> folder.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/moveFailed-is-failing-when-streaming-is-on-tp5737065p5737131.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to