Annotation Interface DestinationVariable


@Target(PARAMETER) @Retention(RUNTIME) @Documented public @interface DestinationVariable
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.

Since:
4.0
Author:
Brian Clozel, Rossen Stoyanchev
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the destination template variable to bind to.
  • Element Details

    • value

      String value
      The name of the destination template variable to bind to.
      Default:
      ""