camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Schönheit (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5631) EventHelper.notifyRouteStarted skips all remaining notifiers if one if the notifiers ignores route events
Date Thu, 20 Sep 2012 11:47:07 GMT

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

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

    Description: 
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".

Note: {{CamelContextStoppingEvent}}s are also affected.

  was:
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".


    
> 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".
> Note: {{CamelContextStoppingEvent}}s are also affected.

--
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

Mime
View raw message