You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/31 14:49:34 UTC
[jira] Resolved: (CAMEL-1449) DeadLetterChannel - Should not mark
an Exchange as handled if no handled policy was configured
[ https://issues.apache.org/activemq/browse/CAMEL-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1449.
--------------------------------
Resolution: Won't Fix
We change default in 2.0 to have no error handler by default
> DeadLetterChannel - Should not mark an Exchange as handled if no handled policy was configured
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-1449
> URL: https://issues.apache.org/activemq/browse/CAMEL-1449
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.0.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Critical
> Fix For: 2.0.0
>
>
> By default the DLC will mark an Exchange as been handled if it could not redeliver it and will log it at ERROR level = the default DLC settings.
> But it should *not* mark the Exchange as handled, if there has not been configured to do so in
> - DLC.handled(true)
> - onException(Foo.class).handled(true)
> So in that regard it will still LOG it at ERROR level but the Exchange seen by the original caller, or eg a FileConsumer will still se the Exchange as both failed and *not handled*.
> Only if end user configure the route to use handled(true) it should mark the Exchange as handled.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.