## Uses of Interface
org.springframework.messaging.simp.stomp.StompSession.Subscription

- Packages that use StompSession.Subscription
  Package | Description
  --- | ---
  org.springframework.messaging.simp.stomp | Generic support for simple messaging protocols (like STOMP).

- - ### Uses of StompSession.Subscription in org.springframework.messaging.simp.stomp

    Methods in org.springframework.messaging.simp.stomp that return StompSession.Subscription
    Modifier and Type | Method and Description
    --- | ---
    `StompSession.Subscription` | StompSession.`subscribe(StompHeaders headers, StompFrameHandler handler)` An overloaded version of `StompSession.subscribe(String, StompFrameHandler)` with full `StompHeaders` instead of just a destination.
    `StompSession.Subscription` | DefaultStompSession.`subscribe(StompHeaders headers, StompFrameHandler handler)`
    `StompSession.Subscription` | StompSession.`subscribe(String destination, StompFrameHandler handler)` Subscribe to the given destination by sending a SUBSCRIBE frame and handle received messages with the specified `StompFrameHandler`.
    `StompSession.Subscription` | DefaultStompSession.`subscribe(String destination, StompFrameHandler handler)`