[
https://issues.apache.org/activemq/browse/CAMEL-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41972#action_41972
]
Claus Ibsen commented on CAMEL-410:
-----------------------------------
Thanks Dan for the unit test.
I was also looking for a camel context configuration eg. with the fluent
builder (DSL) that demonstrates the use-case with configuration using several
exceptions and an exchange between endpoints etc.
Dan if you have relevant parts of the camel context configuration in question
that only encounters the problem sometimes, then please attach this material
also.
> Exception handling of the ErrorHandlerSupport class
> ---------------------------------------------------
>
> Key: CAMEL-410
> URL: https://issues.apache.org/activemq/browse/CAMEL-410
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.2.0, 1.3.0
> Reporter: Dan Dudley
> Assignee: Claus Ibsen
> Fix For: 1.4.0
>
> Attachments: ErrorHandlerSupportTest.java, patch.txt
>
>
> When you configure your route builder and say you want to configure two
> exceptions lets say: NullPointer and Exception.
> Now say the bean you call as your end point throws a NullPointer, wouldn't
> you think the NullPointer policy would handle that exception?
> Well I'm seeing sometimes it does and sometimes it doesn't due to the map not
> keeping the exceptions in any particular order. Is there anyway this could
> be changed to a LinkedHashMap or a List?
> Issue with class: org.apache.camel.processor.ErrorHandlerSupport
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.