StompSession.subscribe

Subscribe to the given destination by sending a SUBSCRIBE frame and handle received messages with the specified {@link StompFrameHandler}. @param destination the destination to subscribe to @param handler the handler for received messages @return a handle to use to unsubscribe and/or track receipts

  1. Subscription subscribe(string destination, StompFrameHandler handler)
    interface StompSession
  2. Subscription subscribe(StompHeaders headers, StompFrameHandler handler)

Meta