Top Description Annotations
[default module]

Package org.springframework.messaging.simp.annotation

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Annotations and for handling messages from SImple Messaging Protocols such as STOMP.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
SendToUser

Indicates the return value of a message-handling method should be sent as a org.springframework.messaging.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.

public @interface
SubscribeMapping

Annotation for mapping subscription messages onto specific handler methods based on the destination of a subscription.