Top Description Methods
org.springframework.messaging.handler.annotation

public @Interface DestinationVariable

extends Annotation
Annotations
@Target:PARAMETER
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Annotation that indicates a method parameter should be bound to a template variable in a destination template string. Supported on message handling methods such as @MessageMapping.

A @DestinationVariable template variable is always required.

Authors
Brian Clozel, Rossen Stoyanchev
Since
4.0
See Also
org.springframework.messaging.handler.annotation.MessageMapping, org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler

Method Summary

Modifier and TypeMethod and Description
public String
value()

The name of the destination template variable to bind to.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

The name of the destination template variable to bind to.