camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <>
Subject [jira] Commented: (CAMEL-960) DeadLetterChannel - option to mark the exchange as failure handled and that its OK
Date Fri, 10 Oct 2008 04:59:52 GMT


Hadrian Zbarcea commented on CAMEL-960:

@Claus, I got your point.  I agree, the default should be false.

Again, the transform(...) is already possible.  The only thing missing is the failureHandled()
api, which could be actually implemented (I guess) to remove the FAILURE_HANDLED_PROPERTY
property which contains the exception from the exchange.  I'll probably use an expression
there, not just a boolean.  Piece of cake.

I think this fully solves the problem.  Do we agree on the solution?

> DeadLetterChannel - option to mark the exchange as failure handled and that its OK
> ----------------------------------------------------------------------------------
>                 Key: CAMEL-960
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.5.0, 2.0.0
> Currently the DeadLetterChannel sets the orignal caused exception on the exchange *after*
it has been failure handled. We should support somekind of option to enable/disable this feature.
We could support:
> - option on the endpoint to set this for all exchanges
> - support a special header key that end-users can insert per exchange to be more dynamic
> - maybe methods on Exchange to set this more easily
> - maybe some refinements in isFailureHandled() to cater for this
> And we should consider use a better keyname in the DLC where it stores the original exception.

> See nabble:
> We might need to push this for Camel 2.0 but I think it is a feature that end-users would
need sooner.
> Any thoughts, please write here?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message