Interface StompSession.Subscription
- All Superinterfaces:
StompSession.Receiptable
- Enclosing interface:
- StompSession
public static interface StompSession.Subscription extends StompSession.Receiptable
A handle to use to unsubscribe or to track a receipt.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSubscriptionId()
Return the id for the subscription.void
unsubscribe()
Remove the subscription by sending an UNSUBSCRIBE frame.Methods inherited from interface org.springframework.messaging.simp.stomp.StompSession.Receiptable
addReceiptLostTask, addReceiptTask, getReceiptId
Method Detail
getSubscriptionId
String getSubscriptionId()
Return the id for the subscription.
unsubscribe
void unsubscribe()
Remove the subscription by sending an UNSUBSCRIBE frame.