You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2021/05/29 18:39:00 UTC

[jira] [Assigned] (CXF-8544) SseEventSink cannot be used in a @POST resource method

     [ https://issues.apache.org/jira/browse/CXF-8544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko reassigned CXF-8544:
---------------------------------

    Assignee: Andriy Redko

> SseEventSink cannot be used in a @POST resource method
> ------------------------------------------------------
>
>                 Key: CXF-8544
>                 URL: https://issues.apache.org/jira/browse/CXF-8544
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.14
>            Reporter: Timothy James Ward
>            Assignee: Andriy Redko
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)