[ 
https://issues.apache.org/jira/browse/ARIES-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086192#comment-18086192
 ] 

ASF subversion and git services commented on ARIES-2232:
--------------------------------------------------------

Commit 2858b5ffefe2f544141efb5ac93061ee94cba8c0 in aries-rsa's branch 
refs/heads/master from Amichai Rothman
[ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=2858b5ff ]

ARIES-2232 Fix TCP Discovery InterestManager not notifying listeners when scope 
changes


> TCP Discovery InterestManager not notifying listeners when scope changes
> ------------------------------------------------------------------------
>
>                 Key: ARIES-2232
>                 URL: https://issues.apache.org/jira/browse/ARIES-2232
>             Project: Aries
>          Issue Type: Bug
>          Components: Remote Service Admin
>    Affects Versions: rsa-2.0.0
>            Reporter: Amichai Rothman
>            Priority: Major
>
> When a new EndpointEventListener is added the InterestManager notifies it of 
> all endpoints matching its scope, but if an existing listener changes its 
> scope such that it matches an endpoint that wasn't previously matched, there 
> is no notification about the endpoint.
> It must notify of all matching endpoints both when the listener is added and 
> any time its scope changes. Since the EndpointEventListener is idempotent, 
> it's ok to simplify and just send ADDED events again for all matching 
> endpoints every time the scope changes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to