[
https://issues.apache.org/activemq/browse/CAMEL-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44912#action_44912
]
Kevin Urciolo commented on CAMEL-813:
-------------------------------------
We would like to configure ExceptionType objects for a DeadLetterChannelBuilder
in Spring XML. If the ErrorHandlerBuilderSupport exposed a setter for
exceptions, then we could potentially create a list of ExceptionType objects
and inject them in to the DeadLetterChannelBuilder.
We want to do something like this, but in Spring XML:
exception(NullPointerException.class)
.maximumRedeliveries(1)
.setHeader(MESSAGE_INFO, constant("Damm a NPE"))
.to(ERROR_QUEUE);
> Add exceptions setter in ErrorHandlerBuilderSupport.java
> --------------------------------------------------------
>
> Key: CAMEL-813
> URL: https://issues.apache.org/activemq/browse/CAMEL-813
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Kevin Urciolo
> Priority: Trivial
> Fix For: 1.5.0
>
> Attachments: patchfile.txt
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.