I am configuring Websockets in Spring basically by following the guide provided in the documentation.
I am currently trying to send a message from the server to the
Strange, because when you use the websocket namespace, the "message-broker" element causes the creation of a SimpMessagingTemplate bean which should then be available for you to inject. Are both the controller and the websocket namespace in the same ApplicationContext or is perhaps one in the "root" context and the other in the DispatcherServlet context?