camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: moveFailed is failing when streaming is on
Date Mon, 12 Aug 2013 12:42:39 GMT
I logged a ticket about the problem with moving to failed due the
stream is locked.

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 <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message