Interface Subscription


public sealed interface Subscription
Represents a STOMP subscription.
Since:
1.0.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The destination (topic) of the subscription.
    id()
    The unique identifier of the subscription.
  • Method Details

    • id

      UUID id()
      The unique identifier of the subscription.
      Returns:
      the subscription ID
      Since:
      1.0.0
    • destination

      String destination()
      The destination (topic) of the subscription.
      Returns:
      the destination string
      Since:
      1.0.0