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.