It is only with Spring 5 that APIs for Reactive WebSocket communication are available to build an ideal, resilient, optimized, and real-time client-server messaging without too many complicated configurations. Part of the additional Reactive modules added to Spring Boot 2.0 are the classes and interfaces ready to build WebSocket communications that utilize the Flux<T> and Mono<T> stream payloads, with backpressure operators applied during bi-directional stream processing.
Implementing Reactive WebSocket communication
Getting ready
Create another Maven project, ch12-messenger, needed to implement a mini-chat room based on the Reactive WebSocket APIs.