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

Don't throw the SuspendedInvocationException when call the suspend() method of CXF continuation

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3
    • None
    • None

    Description

      Current CXF Continuation suspend implementation is based on throw SuspendedInvocationException, This implementation has a shortcoming which cannot call the other framework's async API after continuation suspend is called as Jetty7 does.
      So I introduce a flag of Message.CONTINUATION_SUSPENDED to break out current interceptor chain as the SuspendedInvocation does, but It will make CXF continuation API more easy to use and it supports the Jetty7 continuation or Servlet3 suspend resume semantics.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment