Currently there is no way to set the service ranking using the blueprint
maven plugin.
You can create an issue to track this enhancement.
Btw. service ranking is currently less useful in blueprint in general
than you might think.
Once a blueprint bundle has bound a service it will not switch to a
higher ranked one if it appears.
Christian
On 18.01.2016 12:00, cniehues wrote:
Hello,
I use the aries-blueprint-plugin to generate my blueprint.xml and want to
know how to set the ranking for my services. I noticed that the
OsgiServiceProvider annotation has a ranking property in current version but
the aries-blueprint-plugin uses an older version so it's not supported by
now.
I saw an example using
/@Properties(@Property(name = "service.ranking", value = "10"))/
but that seems not to work. Is that the right way to do it?
Greetings
Christian
--
View this message in context:
http://karaf.922171.n3.nabble.com/How-to-set-service-ranking-with-aries-blueprint-plugin-tp4044891.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com