cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Resolved] (DOSGI-23) ServiceListener without objectClass
Date Wed, 14 Sep 2016 10:00:29 GMT


Christian Schneider resolved DOSGI-23.
    Resolution: Won't Fix
      Assignee: Christian Schneider

I think we can not easily support listeners without objectClass as this might trigger to import
all services.

> ServiceListener without objectClass
> -----------------------------------
>                 Key: DOSGI-23
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: New Feature
>          Components: Discovery
>         Environment: felix-2.0.1
>            Reporter: Alexander Broekhuis
>            Assignee: Christian Schneider
> Remote service endpoints are created using the CxfFindListenerHook if a listener is added
with a filter on a service classname. Currently in the CxfFindListenerHook there is a check
to see if objectClass is filled in. If this is not the case, the discovery is not accessed
to look for remote services. If a listener is added to get a remote service based only on
other properties, no endpoints are created.
> As a side note when a listener is added with a filter on service.imported=true:
> The imported property is only set on the imported proxy registration, and not part of
the actual remote service. So it isn't published in discovery. In this case the service listener
could be notified of all remote services found in the discovery.
> See
for the thread on the mailing list.

This message was sent by Atlassian JIRA

View raw message