Package org.springframework.messaging.simp.annotation
@NullMarked
package org.springframework.messaging.simp.annotation
Annotations and for handling messages from Simple Messaging Protocols such as STOMP.
-
ClassDescriptionIndicates the return value of a message-handling method should be sent as a
Message
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.Annotation for mapping subscription messages onto specific handler methods based on the destination of a subscription.