You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2009/03/02 11:10:12 UTC

[jira] Created: (CXF-2078) DOSGi is not able to consume multiple instances of a service via Discovery

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.


[jira] Assigned: (CXF-2078) DOSGi is not able to consume multiple instances of a service via Discovery

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn reassigned CXF-2078:
---------------------------------

    Assignee: Eoghan Glynn

> 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
>
> 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.


[jira] Commented: (CXF-2078) DOSGi is not able to consume multiple instances of a service via Discovery

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (CXF-2078) DOSGi is not able to consume multiple instances of a service via Discovery

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn resolved CXF-2078.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

> 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.