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: What happens to Exchange's exception in DeadLetterChannel?
Date Wed, 31 Aug 2011 14:59:33 GMT
On Wed, Aug 31, 2011 at 4:34 PM, David Tombs <cyan.spam@gmail.com> wrote:
> Hi there,
>
> I'm using a Dead Letter Channel error handler and am a little confused
> about what happens to the original Exception while on the dead letter
> queue.
>
> - Camel In Action says that it's stored in the
> 'Exchange.CAUSED_EXCEPTION' property, which doesn't seem to exist
> (p127).

That is a mistake. I will add an errata. p147 has the correct properties.

> - DeadLetterChannel wiki page[1] says it's cleared and unavailable.
> - Experimentally, it seems stored in the 'Exchange.EXCEPTION_CAUGHT' property.
>

Yes its in that EXCEPTION_CAUGHT property.

For editing the wiki you can read here about that, as you need to have
karma to do that
http://camel.apache.org/how-do-i-edit-the-website.html


> Am I right about the actual behavior? If so, the Wiki should be
> updated which I would be glad to try.
>
> Thanks in advance,
> David
>
> [1] http://camel.apache.org/dead-letter-channel.html
>
> --
> Wise men _still_ seek Him.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message