Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5631

EventHelper.notifyRouteStarted skips all remaining notifiers if one if the notifiers ignores route events

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10.0
    • 2.9.4, 2.10.2, 2.11.0
    • camel-core
    • None
    • Unknown

    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/branches/camel-2.10.x/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: CamelContextStoppingEvents are also affected.

      Attachments

        1. EventHelperTest.java
          3 kB
          Frank Schönheit

        Activity

          People

            muellerc Christian Müller
            frank.schoenheit Frank Schönheit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: