Cached invocation chain is used after endpoint is rebuilt
---------------------------------------------------------

                 Key: TUSCANY-3955
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3955
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-2.0
            Reporter: Greg Dritschler
            Priority: Minor
         Attachments: TUSCANY-3955.patch

When the invocation handler detects an endpoint reference is out-of-date, it 
invokes epr.rebuild.  This clears the invocation chains but it does not clear 
the cached mapping of methods to invocation chains.  As a result, when the 
client uses these methods after a new endpoint is selected, they will continue 
to use the old invocation chain with its old invoker.

I am attaching a patch to clear this cache in epr.rebuild.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to