You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Frank Schönheit (JIRA)" <ji...@apache.org> on 2012/09/20 13:21:07 UTC

[jira] [Updated] (CAMEL-5631) EventHelper.notifyRouteStarted skips all remaining notifiers if one if the notifiers ignores route events

     [ https://issues.apache.org/jira/browse/CAMEL-5631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Schönheit updated CAMEL-5631:
-----------------------------------

    Attachment: EventHelperTest.java

EventHelperTest.java contains a unit test exposing the problem.
                
> EventHelper.notifyRouteStarted skips all remaining notifiers if one if the notifiers ignores route events
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5631
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5631
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: Frank Schönheit
>         Attachments: EventHelperTest.java
>
>
> Having two or more notifiers registered at the management strategy of a camel context, where one of the notifiers (not the last one) is set up to ignore route events, results in all remaining notifiers to be skipped when notifying a RouteStartedEvent.
> Look at http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/EventHelper.java?revision=1340446&view=markup, line 237: There's a "return" which actually should be a "continue".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira