You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by James Strachan <ja...@gmail.com> on 2008/02/04 14:32:17 UTC

Re: ErrorHandlerSupport...how is this meant to work?

On 29/01/2008, ddudley <dd...@studentloan.org> wrote:
>
> 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?

I'm sure thats possible - could you raise a JIRA so we can track this
issue please? It sounds like a pretty simple change.
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com