Package org.springframework.messaging.simp.stomp
@NullMarked
package org.springframework.messaging.simp.stomp
Generic support for simple messaging protocols (like STOMP).
-
ClassDescriptionUses
StompDecoder
to decode aByteBuffer
to one or more STOMP message.AStompSession
that implementsTcpConnectionHandler
in 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 with eitherReactorNettyTcpClient
orReactorNetty2TcpClient
.Uses aStompEncoder
to encode a message and splits it into parts no larger than the configured buffer size limit.AMessageHandler
that 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.AMessageHeaderAccessor
to use when creating aMessage
from a decoded STOMP frame, or when encoding aMessage
to 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 forStompSessionHandler
with mostly empty implementation methods except forStompSessionHandlerAdapter.getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders)
which returns String as the default Object type expected for STOMP ERROR frame payloads.ATcpConnectionHandler
for use with STOMP connections, exposing further information about the connection.