Annotation Type SendToUser

    • Optional Element Summary

      Optional Elements 
      Modifier and TypeOptional ElementDescription
      booleanbroadcast
      Whether messages should be sent to all sessions associated with the user or only to the session of the input message being handled.
      String[]destinations
      One or more destinations to send a message to.
      String[]value
      Alias for destinations().
      • broadcast

        boolean broadcast
        Whether messages should be sent to all sessions associated with the user or only to the session of the input message being handled.

        By default, this is set to true in which case messages are broadcast to all sessions.

        Default:
        true