It's a bit late. I was doing something similar. The problem was parsing the response on Front-End.
I changed to
template.convertAndSend("/topic/greetings", new WebSocketResponse("Hello, " + HtmlUtils.htmlEscape("Server") + "!"));
And now it's working.