class SendToUser
Annotation that indicates that the return value of a message-handling method should be sent as a org.springframework.messaging.Message to the specified destination(s) prepended with The annotation may also be placed at class-level in which case all methods in the class where the annotation applies will inherit it. |
|
class SubscribeMapping
Annotation for mapping subscription messages onto specific handler methods based on the destination of a subscription. Supported with STOMP over WebSocket only (e.g. STOMP SUBSCRIBE frame). This is a method-level annotation that can be combined with a type-level org.springframework.messaging.handler.annotation.MessageMapping. Supports the same method arguments as The return value also follows the same rules as for NOTE: When using controller interfaces (e.g. for AOP proxying), make sure to consistently put all your mapping annotations - such as |