You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/11/22 19:20:58 UTC

[jira] [Resolved] (CAMEL-7091) EventNotifiers don't work under Blueprint as a referenced service

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

Claus Ibsen resolved CAMEL-7091.
--------------------------------
    Resolution: Unresolved

Try again with latest code as so many years has passed and the reported cannot provide a test case reproducing the issue

> EventNotifiers don't work under Blueprint as a referenced service
> -----------------------------------------------------------------
>
>                 Key: CAMEL-7091
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7091
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-core
>    Affects Versions: 2.10.0
>         Environment: JBoss Fuse 6.0.0 / Karaf 2.3.0
>            Reporter: Henrique Viecili
>            Assignee: Willem Jiang
>              Labels: blueprint, events
>             Fix For: Future
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)