Annotation Interface Topic


@Target(METHOD) @Retention(RUNTIME) public @interface Topic
Annotation to mark methods that handle messages from or to a specific STOMP topic.
Since:
1.0.0
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The STOMP topic to use for subscriptions or sending messages.
  • Element Details

    • value

      String value
      The STOMP topic to use for subscriptions or sending messages.
      Returns:
      the topic string
      Since:
      1.0.0
      Default:
      ""