aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Przybysz (JIRA)" <>
Subject [jira] [Commented] (ARIES-1589) Blueprint-maven-plugin does not handle service reference filter correctly
Date Mon, 08 Aug 2016 12:49:20 GMT


Dominik Przybysz commented on ARIES-1589:

I have checked it on blueprint-maven-plugin in version 1.4.0:

I have field:

    private ConnectionFactory connectionFactory;

and in generated blueprint I have

<property name="connectionFactory" ref="connectionFactory-componenttypejmsXA"/>


<reference id="connectionFactory-componenttypejmsXA" interface=""

You have missed @Inject annotation.
Maybe you have defined this service without parentheses in another bean? Then component-name
could be used.

> Blueprint-maven-plugin does not handle service reference filter correctly
> -------------------------------------------------------------------------
>                 Key: ARIES-1589
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-maven-plugin-1.4.0
>            Reporter: Charlie Mordant
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> When trying to reference a filtered service with pax-cdi-api annotation i.e.:
> [code]
> @OsgiService(filter="(component-type=jmsXA)")
> private ConnectionFactory connectionFactory
> [/code]
> The generated blueprint adds the filter as a 'component-name' attribute instead of filling
the 'filter' attribute.

This message was sent by Atlassian JIRA

View raw message