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

EventNotifiers don't work under Blueprint

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      EventNotifiers don't work with Blueprint Camel Contexts. Testing on latest 2.10-SNAPSHOT, updated on 22 May 16:45 GMT.

      After some debugging, it looks like the bean lookup performed on line 202 of AbstractCamelContextFactoryBean.afterPropertiesSet() triggers the initialization of the CamelContext as part of the lookup.

      As part of the init, all services are started, including the ManagementContext and its EventNotifiers (which we were just looking up).

      EventNotifiers are then added but never started because they came in late.

      Attachments

        1. blueprint-eventnotifier-bug.xml
          1 kB
          Raúl Kripalani

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              raulvk Raúl Kripalani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: