Skip to content

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

@danielkec

Description

@danielkec

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) {

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions