Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java-SCA-2.0
-
None
-
None
-
None
-
Patch Available
Description
Tuscany extensions may need to save information about a client's asynchronous request for use when processing the asynchronous response. Extensions can create their own maps by message id to do this, but it would be simpler to just provide access to the existing message store in Tuscany's async response invoker. I am submitting a patch to do this.
Changes:
RuntimeEndpointReference – added a method to get the async response invoker for an operation
JDKAsyncResponseInvoker – added a method to get the response handler for a given message id
AsyncContext – new interface implementated by response handler to store/retrieve data