camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filippo Balicchia <fbalicc...@gmail.com>
Subject Re: error handler
Date Wed, 06 Jul 2011 08:08:41 GMT
DeadLetter channel use the orginal input message and move it on dead
letter channel queue.

--Filippo



2011/7/6 Marco Westermann <MarWestermann@gmx.de>:
> Hi, just a little understanding question. If I have a route
>
> from("file:///data/input/)
>    .to("direct:transform")
>    .to("direct:enrich")
>    .to("direct:transform)
>    .to("file:///data/output")
>
> what message would
> deadLetterChannel("direct:failedFiles").useOriginalMessage() handle, when an
> error occur within one of the direct endpoints and how would the scope of
> the error handler affect that behaviour?
>
> Thank you Marco
>

Mime
View raw message