Hi Gary,

I guess that you mean on the cluster, having the same service deployed on multiple nodes, right ?

Even if you can use service properties to identify the service instance on different nodes (in addition of the exported.service.interface one), implicitly Cellar doesn't add additional properties.
It's something that I plan and that will be part of KARAF-3980.

Regards
JB

On 10/18/2015 08:30 PM, garyhodgson wrote:
Hi guys,

Does cellar-dosgi handle multiple instances of a service, differentiated via
properties, i.e where they can be selected via a filter?

When I publish a single service in node a, and call it from a client in node
b, everything works as expected. But if the service in node a has multiple
instances, and for example filtered by a path property (e.g.
path=/echo/simple) then the client complains with the following: "Missing
dependencies:
(&(path=/echo/simple)(objectClass=com.examples.echo.service.api.EchoService))""

Is there any special config I am missing, or is this functionality not yet
implemented?

Cheers,
Gary



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Cellar-DOSGI-Services-with-multiple-instances-tp4043135.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to