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

EventNotifiers don't work under Blueprint

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment