Uses of Interface
org.springframework.messaging.simp.stomp.StompSession.Receiptable
Package
Description
Generic support for simple messaging protocols (like STOMP).
-
Uses of StompSession.Receiptable in org.springframework.messaging.simp.stomp
Modifier and TypeInterfaceDescriptionstatic interface
A handle to use to unsubscribe or to track a receipt.Modifier and TypeMethodDescriptionDefaultStompSession.acknowledge
(String messageId, boolean consumed) DefaultStompSession.acknowledge
(StompHeaders headers, boolean consumed) StompSession.acknowledge
(String messageId, boolean consumed) Send an acknowledgement whether a message was consumed or not resulting in an ACK or NACK frame respectively.StompSession.acknowledge
(StompHeaders headers, boolean consumed) An overloaded version ofStompSession.acknowledge(String, boolean)
with fullStompHeaders
instead of just amessageId
.DefaultStompSession.send
(StompHeaders headers, Object payload) Send a message to the specified destination, converting the payload to abyte[]
with the help of aMessageConverter
.StompSession.send
(StompHeaders headers, Object payload) An overloaded version ofStompSession.send(String, Object)
with fullStompHeaders
instead of just a destination.