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/06/15 07:16:35 UTC

[jira] Created: (CAMEL-1709) Add onRedeliver(Exception... causes) to DSL for doing custom on redeliver for certain exceptions

Add onRedeliver(Exception... causes) to DSL for doing custom on redeliver for certain exceptions
------------------------------------------------------------------------------------------------

                 Key: CAMEL-1709
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1709
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 2.1.0


We have *onRedeliver(Processor)* that is executed for any redeliver. We should add a support for specifying which excpetions it should occur for so you can do custom on redeliver for certain exceptions such as: IOException, ConnectException or the likes.

We could consider having it like the other global onXXX
- onException
- onCompletion

Then you can have cross cutting processing for any routes that redelivers

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


[jira] Resolved: (CAMEL-1709) Add onRedeliver(Exception... causes) to DSL for doing custom on redeliver for certain exceptions

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

Claus Ibsen resolved CAMEL-1709.
--------------------------------

    Resolution: Won't Fix

This may be overkill and a feature which end users may not really need.

> Add onRedeliver(Exception... causes) to DSL for doing custom on redeliver for certain exceptions
> ------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1709
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1709
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>             Fix For: 2.3.0
>
>
> We have *onRedeliver(Processor)* that is executed for any redeliver. We should add a support for specifying which excpetions it should occur for so you can do custom on redeliver for certain exceptions such as: IOException, ConnectException or the likes.
> We could consider having it like the other global onXXX
> - onException
> - onCompletion
> Then you can have cross cutting processing for any routes that redelivers

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