@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface SendToUser
Message and sent to the
specified destination with the prefix "/user/{username}" automatically
prepended with the user information expected to be the input message header
SimpMessageHeaderAccessor.USER_HEADER. Such user destinations may need to be
further resolved to actual destinations.SendTo,
UserDestinationMessageHandler| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
value
The destination for a message based on the return value of a method.
|