cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amichai Rothman (JIRA)" <>
Subject [jira] [Resolved] (DOSGI-176) zookeeper discovery sending multiple duplicate endpoint notifications
Date Thu, 30 May 2013 11:30:27 GMT


Amichai Rothman resolved DOSGI-176.

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Amichai Rothman
> zookeeper discovery sending multiple duplicate endpoint notifications
> ---------------------------------------------------------------------
>                 Key: DOSGI-176
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.5.0
>            Reporter: Amichai Rothman
>            Assignee: Amichai Rothman
>             Fix For: 1.5.0
>         Attachments: fix_duplicate_endpoint_notifications.diff
> To my understanding of the current behavior, the InterfaceMonitorManager creates a ZooKeeper
watcher (InterfaceMonitor) per scope. The InterfaceMonitor however monitors ZK nodes according
to the objectClass (ignoring scope). When a ZK node change is detected, the IMs watching that
node all trigger IMM's event handler. But instead of sending out the EndpointListener events
corresponding to the scope for which each IM was created, it loops through all of the EndpointListener
requested scopes and notifies the first matching one. This effectively causes multiple events
to be triggered for the same scope (instead of one per IM scope), and possibly others to be

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message