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

EventNotifiers don't work under Blueprint as a referenced service

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Abandoned
    • Affects Version/s: 2.10.0
    • Fix Version/s: Future
    • Component/s: camel-blueprint, camel-core
    • Labels:
    • Environment:

      JBoss Fuse 6.0.0 / Karaf 2.3.0

    • Estimated Complexity:
      Unknown

      Description

      I'm facing a similar issue to what is describer at CAMEL-5299, this time the same behaviour happen when using the EventNotifier from another bundle's exported service.

      Bundle 1 (exposes an EventNotifier):
      Export-Service =
      com.event.logger.CommonLogEventNotifier

      blueprint.xml:
      <service id="commonLogEventNotifier" interface="com.event.logger.CommonLogEventNotifier">
      <bean class="com.event.logger.CommonLogEventNotifierImpl">
      </bean>
      </service>

      Bundle 2 (uses the EventNotifier)
      Import-Service =
      com.event.logger.CommonLogEventNotifier;multiple:=false

      blueprint.xml:
      <reference id="commonLogEventNotifier" interface="com.event.logger.CommonLogEventNotifier" />

      The EventNotifier class definition is:
      public class CommonLogEventNotifierImpl extends EventNotifierSupport implements EventNotifier, com.event.logger.CommonLogEventNotifier

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              viecili Henrique Viecili
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: