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 2010/12/20 19:51:01 UTC
[jira] Updated: (CAMEL-3448) Route scoped onException may pick
onException from another route if they are the same class type
[ https://issues.apache.org/jira/browse/CAMEL-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-3448:
-------------------------------
Summary: Route scoped onException may pick onException from another route if they are the same class type (was: Exception policies stores in ErrorHandlerSupport should include route id in key)
> Route scoped onException may pick onException from another route if they are the same class type
> ------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3448
> URL: https://issues.apache.org/jira/browse/CAMEL-3448
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Critical
> Fix For: 2.6.0
>
>
> If you have a clash with route scoped onException and have the exact same class, then the key in the map isn't catering for this. And thus a 2nd route could override the 1st route onException definition.
> For example:
> from X route A
> onException IOException
> from Y route B
> onException IOException
> The map should contain 2 entries, but unfortunately it only contain 1. This only happens when its an exact type match.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.