[
https://issues.apache.org/jira/browse/CXF-8544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353837#comment-17353837
]
Andriy Redko commented on CXF-8544:
-----------------------------------
Thanks for the context [~timothyjward] , I think it should be possible to have
POST support for SSE, I will try to look into it shortly with respect to
figuring out why it dos not work out of the box.
> 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
> 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)