I was going through the documentation available on Internet regarding sending/receiving messages using Spring Websocket STOMP. I could see various examples of sending messages from Backend to frontend (example given below) but don't see any examples to send the messages from frontend to backend.. Can someone please help?
//controller code this.simpMessagingTemplate.convertAndSend("/update/data", message)
//Frontend code stompClient.subscribe('/update/data', function ()...