The JDK HttpClient documentation shows there is also a WebSocket client in the same package. Along the same lines as #21014 we need to try it now and aim to integrate with JDK 11 for 5.2.
At present, unlike HttpClient, the WebClient API does not explicitly expose Reactive Streams contracts. It does however provide flow control on the reading side where you must first request the number of messages to receive. On the writing side it's sending one message at a time with a CompletableFuture notification.
Affects: 5.0.3
Issue Links:
21014 JDK 11 HttpClient integration with WebClient
Rossen Stoyanchev opened SPR-16471 and commented
The JDK HttpClient documentation shows there is also a WebSocket client in the same package. Along the same lines as #21014 we need to try it now and aim to integrate with JDK 11 for 5.2.
At present, unlike
HttpClient
, theWebClient
API does not explicitly expose Reactive Streams contracts. It does however provide flow control on the reading side where you must first request the number of messages to receive. On the writing side it's sending one message at a time with aCompletableFuture
notification.Affects: 5.0.3
Issue Links:
21014 JDK 11 HttpClient integration with WebClient