I want to send notification to specific client.
e.g username user
@Configuration @EnableWebSocketMessageBroker public class WebSocketConfiguration exten
Seems you are missing a slash in your destination:
template.convertAndSendToUser(principal.getName(), "/queue/notification", notifications);