StompFrame
Represents a STOMP frame. The structure of STOMP frames is defined by the specification.
Inheritors
Types
An ABORT frame is a client frame used to roll back a transaction in progress.
An ACK frame is a client frame used to acknowledge consumption of a message from a subscription using client
or client-individual
acknowledgment. Any messages received from such a subscription will not be considered to have been consumed until the message has been acknowledged via an ACK.
A BEGIN frame is a client frame used to start a transaction.
A COMMIT frame is a client frame used to commit a transaction in progress.
A CONNECT frame is a client frame used to start a STOMP session on a web socket connection.
A CONNECTED frame is a server frame received upon successful connection at the STOMP protocol level.
A DISCONNECT frame is a client frame used to gracefully disconnect from the server. Waiting for a RECEIPT on DISCONNECT ensures that all previously sent messages have been received by the server.
An ERROR frame is a server frame sent in case of error. Receiving an ERROR frame implies that the connection should be closed and no further messages can be sent or received.
A MESSAGE frame is a server frame used to convey a message from a subscription to the client. A MESSAGE frame must be part of a subscription.
A NACK frame is a client frame used to tell the server that the client did not consume the message. The server can then either send the message to a different client, discard it, or put it in a dead letter queue.
A RECEIPT frame is sent from the server to the client once the server has successfully processed a client frame that requests a receipt. It is expected from the server when the client frame has a receipt
header.
A SEND frame is a client frame used to send a message to a destination in the messaging system. The optional body of the SEND frame is the message to be sent.
A STOMP frame is a STOMP 1.2 replacement for the CONNECT frame, used to start a STOMP session on a web socket connection.
A SUBSCRIBE frame is a client frame used to register to listen to a given destination.
An UNSUBSCRIBE frame is a client frame used to stop a STOMP subscription.