Return the headers used on the SUBSCRIBE frame. @since 5.0
Return the id for the subscription.
Remove the subscription by sending an UNSUBSCRIBE frame.
Alternative to {@link #unsubscribe()} with additional custom headers to send to the server. <p><strong>Note:</strong> There is no need to set the subscription id. @param headers the custom headers, if any @since 5.0
Return the receipt id, or {@code null} if the STOMP frame for which the handle was returned did not have a "receipt" header.
Task to invoke when a receipt is received. @throws java.lang.IllegalArgumentException if the receiptId is {@code null}
Task to invoke when a receipt is not received in the configured time. @throws java.lang.IllegalArgumentException if the receiptId is {@code null} @see hunt.stomp.simp.stomp.StompClientSupport#setReceiptTimeLimit(long)
A handle to use to unsubscribe or to track a receipt.