Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8080

MP Rest Client CompletionStages from async methods are never completed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.3.3
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Manish Kumar first reported this issue in a [Twitter post|https://twitter.com/manish2aug/status/1155558627593379842] and then opened issue 208 on the MP Rest Client spec page.

       

      He provided an example that shows that the CompletionStage never completes, leaving his test case hung.  See the example here:

      https://gist.github.com/manish2aug/b4133b9fbedc2175e15b303a0682b552

       

      It should be possible to fix this with a change to the MPRestClientCallback.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andymc Andrew J McMurry
                Reporter:
                andymc Andrew J McMurry
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m