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/02/22 08:58:59 UTC

[jira] Created: (CAMEL-1368) Dead Letter Channel - Add onRedelivery to onException so you can do custom processing before a specific exception is redelivered

Dead Letter Channel - Add onRedelivery to onException so you can do custom processing before a specific exception is redelivered 
---------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-1368
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1368
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 1.6.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.0.0


For instance to do some custom code for all IOException we should support:

{code}
onException(IOException.class).onRedelivery(new MyIORedeliverPrcessor());
{code}

So you can have per exception clause that can overrule the default one on DLC (if any). Just as the failure processor.

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


[jira] Resolved: (CAMEL-1368) Dead Letter Channel - Add onRedelivery to onException so you can do custom processing before a specific exception is redelivered

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1368.
--------------------------------

    Resolution: Fixed

Committed revision 746709.

> Dead Letter Channel - Add onRedelivery to onException so you can do custom processing before a specific exception is redelivered 
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1368
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1368
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> For instance to do some custom code for all IOException we should support:
> {code}
> onException(IOException.class).onRedelivery(new MyIORedeliverPrcessor());
> {code}
> So you can have per exception clause that can overrule the default one on DLC (if any). Just as the failure processor.

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