Tuscany
  1. Tuscany
  2. TUSCANY-3976

Allow extensions to save information about client async request

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Java-SCA-2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      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

      1. TUSCANY-3976.patch
        8 kB
        Greg Dritschler

        Activity

        Hide
        ant elder added a comment -

        Patch applied, thanks for the update Greg.

        Show
        ant elder added a comment - Patch applied, thanks for the update Greg.

          People

          • Assignee:
            ant elder
            Reporter:
            Greg Dritschler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development