[
https://issues.apache.org/jira/browse/CXF-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680538#action_12680538
]
Eoghan Glynn commented on CXF-2078:
-----------------------------------
This is fixed on the DSW side, as of revision 752159.
So if multiple AVAILABLE notifications relating to different instances of the
same service type are received from Discovery, multiple proxies will be created
will be created by the DSW.
However, the Discovery RI is observed not to reliably deliver these AVAILABLE
notifications in all cases.
> 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
> Assignee: Eoghan Glynn
> Fix For: 2.2
>
>
> 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.