Simple: convertAndSendToUser Where do I get a username?

Viewed 7085

In Spring Boot (Websockets)

I just saw this example:

messaging.convertAndSendToUser( username, "/queue/notifications",
                       new Notification("You just got mentioned!"));

Where does the guy get a username from? I can't find any mention about where to get that username...

1 Answers
Related