[
https://issues.apache.org/jira/browse/ARIES-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amichai Rothman closed ARIES-2232.
----------------------------------
Fix Version/s: rsa-2.0.0
Resolution: Fixed
> 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
> Fix For: rsa-2.0.0
>
>
> 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)