For messages sent to a user, the destination must contain the name of the target user, The name, extracted from the destination, is used to look up the active user session(s), and then translate the destination accordingly.
For SUBSCRIBE and UNSUBSCRIBE messages, the user is the user associated with the message. In other words the destination does not contain the user name.
See the documentation on implementations for specific examples. @author Rossen Stoyanchev @since 4.0 @see org.springframework.messaging.simp.user.DefaultUserDestinationResolver @see UserDestinationMessageHandler
|
|
|
|