StompSession.subscribe

An overloaded version of {@link #subscribe(string, StompFrameHandler)} with full {@link StompHeaders} instead of just a destination. @param headers the headers for the subscribe message frame @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)
  2. Subscription subscribe(StompHeaders headers, StompFrameHandler handler)

Meta