Uses of Interface
org.springframework.messaging.simp.stomp.StompSession.Receiptable
Packages that use StompSession.Receiptable
Package
Description
Generic support for simple messaging protocols (like STOMP).
-
Uses of StompSession.Receiptable in org.springframework.messaging.simp.stomp
Subinterfaces of StompSession.Receiptable in org.springframework.messaging.simp.stompModifier and TypeInterfaceDescriptionstatic interfaceA handle to use to unsubscribe or to track a receipt.Methods in org.springframework.messaging.simp.stomp that return StompSession.ReceiptableModifier 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 fullStompHeadersinstead 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 fullStompHeadersinstead of just a destination.StompSession.Subscription.unsubscribe()Remove the subscription by sending an UNSUBSCRIBE frame.StompSession.Subscription.unsubscribe(@Nullable StompHeaders headers) Alternative toStompSession.Subscription.unsubscribe()with additional custom headers to send to the server.