Spring websocket: how to send to all subscribers except the message sender
问题 I am following the quick-start guide on Spring websocket with sockJs and Stomp here: https://spring.io/guides/gs/messaging-stomp-websocket/ At this point, my code looks like to one from guide and works as intended. I have a controller class with a method accepting incoming messages and sending them back to all who subscribed on the topic. What I want to do, is to change the code, so my @MessageMapping annotated method sends response to all subscribers excluding the one who send the message to