程序包 org.springframework.messaging.simp.annotation
Annotations and for handling messages from SImple Messaging Protocols such as STOMP.
注释类型概要 注释类型 说明 SendToUser Indicates the return value of a message-handling method should be sent as aMessage
to the specified destination(s) further prepended with"/user/{username}"
where the user name is extracted from the headers of the input message being handled.SubscribeMapping Annotation for mapping subscription messages onto specific handler methods based on the destination of a subscription.