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

SseEventSink cannot be used in a @POST resource method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.14, 3.4.4, 3.3.11
    • 3.5.0, 3.3.12, 3.4.5
    • JAX-RS
    • None
    • Unknown

    Description

      It is possible (and legal according to the JAX-RS specification) to inject a SseEventSink into a resource method annotated with @POST. This works, but the Server Sent Event stream gets automatically closed after the first event is sent. This prevents any @POST resource method from sending Server Sent Events using the API.

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              timothyjward Timothy James Ward
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: