DOSGi is not able to consume multiple instances of a service via Discovery
--------------------------------------------------------------------------

                 Key: CXF-2078
                 URL: https://issues.apache.org/jira/browse/CXF-2078
             Project: CXF
          Issue Type: Bug
          Components: Distributed-OSGi
            Reporter: David Bosschaert


A consumer wants to consume all instances of remote services implementing a 
certain interface via discovery. In the current implementation it only gets one 
of them.

To reproduce you need 3 VMs running DOSGi + Discovery.
One VM consumes all instances of org.acme.FooService.
the two other VMs both create an instance of org.acme.FooService and register 
it with Discovery.

Currently the consumer only gets a ServiceTracker callback for one of the two 
services.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to