What is the timeline for supporting Spring Boot with JAX-RS 2.1 (using Jersey)?
Jersey added support for JAX-RS 2.1 (JAX-RS API) in Jersey 2.26 (released 2017/09/06). This has changed Jersey support for HTTP Server-Sent Events (SSE) events from a specific Jersey implementation to a JAX-RS API- based implementation .
Spring Boot Jersey integration (spring-boot-starter-jersey), release 1.5.8, uses Jersey 2.25.1.
Using Spring boot 1.5.8 and overriding jersey versions from spring-boot-starter-jersey to use 2.26 doesn't seem to work. Objects Sse
and are SseEventSink
not entered into request handlers (when using @Context
).
I'm not quite sure if this is a problem with Spring Boot or Jersey. Therefore, a more general question is when Spring Boot with JAX-RS 2.1 will be supported.
rwfbc source
share