接口的使用
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 interfaceStompSession.SubscriptionA handle to use to unsubscribe or to track a receipt.返回StompSession.Receiptable的org.springframework.messaging.simp.stomp中的方法 修饰符和类型 方法 说明 StompSession.ReceiptableDefaultStompSession. acknowledge(String messageId, boolean consumed)StompSession.ReceiptableDefaultStompSession. acknowledge(StompHeaders headers, boolean consumed)StompSession.ReceiptableStompSession. acknowledge(String messageId, boolean consumed)Send an acknowledgement whether a message was consumed or not resulting in an ACK or NACK frame respectively.StompSession.ReceiptableStompSession. acknowledge(StompHeaders headers, boolean consumed)An overloaded version ofStompSession.acknowledge(String, boolean)with fullStompHeadersinstead of just amessageId.StompSession.ReceiptableDefaultStompSession. send(String destination, Object payload)StompSession.ReceiptableDefaultStompSession. send(StompHeaders headers, Object payload)StompSession.ReceiptableStompSession. send(String destination, Object payload)Send a message to the specified destination, converting the payload to abyte[]with the help of aMessageConverter.StompSession.ReceiptableStompSession. send(StompHeaders headers, Object payload)An overloaded version ofStompSession.send(String, Object)with fullStompHeadersinstead of just a destination.