camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
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.
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 <atluri.forum@gmail.com> 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: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message