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