Annotation Interface Communication.Messaging

Enclosing class:
Communication

@Documented @Retention(RUNTIME) @Target({}) public static @interface Communication.Messaging
Messaging channel configuration.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to acknowledge received messages.
    Channels to publish to.
    Broadcast group memberships.
    Message types to handle.
    int
    Message priority (1-10, higher = more important).
    Topics to subscribe to.
  • Element Details

    • channels

      String[] channels
      Channels to publish to.
      Default:
      {}
    • topics

      String[] topics
      Topics to subscribe to.
      Default:
      {}
    • messageTypes

      String[] messageTypes
      Message types to handle.
      Default:
      {}
    • groups

      String[] groups
      Broadcast group memberships.
      Default:
      {}
    • acknowledge

      boolean acknowledge
      Whether to acknowledge received messages.
      Default:
      true
    • priority

      int priority
      Message priority (1-10, higher = more important).
      Default:
      5