Spring 5 Reactive WebSocketHandler is not sharing the response to all active browser connections
Description: A Json entity is uploaded using the JavaScript WebSocket API. The WebSocketHandler persists the received entity using ReactiveMongoRepository<Profile, String>.
Flux is transformed to Flux containing the persisted entity as Json text, and then to Flux
Why does Webflux WebSocketHandler returned as a lambda expression share the response, but not when defined as a component
The following configuration that returns WebSocket#handle as a lambda expression shares the Entity to all browser connections.