public static interface StompSession.Receiptable
StompSession.setAutoReceipt(boolean)| Modifier and Type | Method and Description |
|---|---|
void |
addReceiptLostTask(Runnable runnable)
Task to invoke when a receipt is not received in the configured time.
|
void |
addReceiptTask(Runnable runnable)
Task to invoke when a receipt is received.
|
String |
getReceiptId()
Return the receipt id, or
null if the STOMP frame for which
the handle was returned did not have a "receipt" header. |
String getReceiptId()
null if the STOMP frame for which
the handle was returned did not have a "receipt" header.void addReceiptTask(Runnable runnable)
IllegalArgumentException - if the receiptId is nullvoid addReceiptLostTask(Runnable runnable)
IllegalArgumentException - if the receiptId is nullStompClientSupport.setReceiptTimeLimit(long)