I am using websocket.
I want to send "message" to server.
ex) at Client
function do_sync() {
stompClient.send("/action/test", {}, "message");
}
but i don't know how to get "message" at Controller.
@MessageMapping("/test")
public void sync() throws Exception {
String message = ex) message from client.
}
how get message at Controller?