Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSE Endpoint should be able to inject Flow.Subscriber #4501

Closed
danielkec opened this issue Jun 8, 2020 · 0 comments · Fixed by #4503
Closed

SSE Endpoint should be able to inject Flow.Subscriber #4501

danielkec opened this issue Jun 8, 2020 · 0 comments · Fixed by #4503
Assignees
Milestone

Comments

@danielkec
Copy link
Contributor

It would be great if Jersey could inject Flow.Subscriber directly, its implemented by JerseyEventSink.

    @GET
    @Path("sse")
    @Produces(MediaType.SERVER_SENT_EVENTS)
    public void listenToEvents(@Context Flow.Subscriber<String> eventSink) {
@senivam senivam added this to the 2.32 milestone Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants