Package org.springframework.messaging.simp.stomp
@NullMarked
package org.springframework.messaging.simp.stomp
Generic support for simple messaging protocols (like STOMP).
-
ClassDescriptionUses
StompDecoderto decode aByteBufferto one or more STOMP message.AStompSessionthat implementsTcpConnectionHandlerin order to send and receive messages.Raised when the connection for a STOMP session is lost rather than closed.Default implementation ofConnectionHandlingStompSession.A STOMP over TCP client, configurable withReactorNettyTcpClient.Uses aStompEncoderto encode a message and splits it into parts no larger than the configured buffer size limit.AMessageHandlerthat handles messages by forwarding them to a STOMP broker.Contract for access to session counters.Base class for STOMP client implementations.Represents a STOMP command.Raised after a failure to encode or decode a STOMP message.Decodes one or more STOMP frames contained in aByteBuffer.An encoder for STOMP frames.Contract to handle a STOMP frame.AMessageHeaderAccessorto use when creating aMessagefrom a decoded STOMP frame, or when encoding aMessageto a STOMP frame.Represents STOMP frame headers.Simple delegation to StompDecoder and StompEncoder.Represents a STOMP session with operations to send messages, create subscriptions and receive messages on those subscriptions.A handle to use to track receipts.A handle to use to unsubscribe or to track a receipt.A contract for client STOMP session lifecycle events including a callback when the session is established and notifications of transport or message handling failures.Abstract adapter class forStompSessionHandlerwith mostly empty implementation methods except forStompSessionHandlerAdapter.getPayloadType(StompHeaders)which returns String as the default Object type expected for STOMP ERROR frame payloads.ATcpConnectionHandlerfor use with STOMP connections, exposing further information about the connection.