org.springframework.messaging.handler.annotation

## Annotation Type SendTo

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
       @Documented
      public @interface SendTo

  Annotation that indicates a method's return value should be converted to a `Message` and sent to the specified destination.
  Since:
    4.0
  Author:
    Rossen Stoyanchev

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `value` The destination for a message created from the return value of a method.

- - ### Element Detail

    - #### value

          public abstract String[] value

      The destination for a message created from the return value of a method.
      Default:
        {}