Package org.springframework.messaging.handler.annotation
@NullMarked
package org.springframework.messaging.handler.annotation
Annotations and support classes for handling messages.
-
ClassDescriptionAnnotation that indicates a method parameter should be bound to a template variable in a destination template string.Annotation which indicates that a method parameter should be bound to a message header.Annotation which indicates that a method parameter should be bound to the headers of a message.Annotation for handling exceptions thrown from message-handling methods within a specific handler class.
ReflectiveProcessor
implementation for types annotated with@MessageMapping
,@SubscribeMapping
and@MessageExceptionHandler
.Annotation that binds a method parameter to the payload of a message.Annotation that indicates a method's return value should be converted to aMessage
if necessary and sent to the specified destination.Common annotation value constants.