Amichai Rothman created ARIES-2232:
--------------------------------------

             Summary: 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


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