接口的使用
org.springframework.messaging.simp.stomp.StompSession.Receiptable
使用StompSession.Receiptable的程序包 程序包 说明 org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).org.springframework.messaging.simp.stomp中StompSession.Receiptable的使用
org.springframework.messaging.simp.stomp中StompSession.Receiptable的子接口 修饰符和类型 接口 说明 static interface
StompSession.Subscription
A handle to use to unsubscribe or to track a receipt.返回StompSession.Receiptable的org.springframework.messaging.simp.stomp中的方法 修饰符和类型 方法 说明 StompSession.Receiptable
DefaultStompSession. acknowledge(String messageId, boolean consumed)
StompSession.Receiptable
DefaultStompSession. acknowledge(StompHeaders headers, boolean consumed)
StompSession.Receiptable
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.Receiptable
StompSession. acknowledge(StompHeaders headers, boolean consumed)
An overloaded version ofStompSession.acknowledge(String, boolean)
with fullStompHeaders
instead of just amessageId
.StompSession.Receiptable
DefaultStompSession. send(String destination, Object payload)
StompSession.Receiptable
DefaultStompSession. send(StompHeaders headers, Object payload)
StompSession.Receiptable
StompSession. send(String destination, Object payload)
Send a message to the specified destination, converting the payload to abyte[]
with the help of aMessageConverter
.StompSession.Receiptable
StompSession. send(StompHeaders headers, Object payload)
An overloaded version ofStompSession.send(String, Object)
with fullStompHeaders
instead of just a destination.