Aborts a transaction.
Aborts a transaction.
Aborts a transaction.
Aborts a transaction.
Sends an acknowledgement for a specific message. It means that the message has been handled and processed by the
client. The id
parameter is the message id received in the frame.
Sends an acknowledgement for a specific message. It means that the message has been handled and processed by the
client. The id
parameter is the message id received in the frame.
Sends an acknowledgement for the given frame. It means that the frame has been handled and processed by the client. The sent acknowledgement is part of the transaction identified by the given id.
Sends an acknowledgement for the given frame. It means that the frame has been handled and processed by the client. The sent acknowledgement is part of the transaction identified by the given id.
Begins a transaction.
Begins a transaction.
Begins a transaction.
Begins a transaction.
Closes the connection without sending the DISCONNECT
frame.
Sets a handler notified when the STOMP connection is closed.
Commits a transaction.
Commits a transaction.
Commits a transaction.
Commits a transaction.
Sets a handler notified when the server does not respond to a ping
request in time. In other
words, this handler is invoked when the heartbeat has detected a connection failure with the server.
The handler can decide to reconnect to the server.
Disconnects the client. Unlike the {@link StompClientConnection#close} method, this method send the DISCONNECT
frame to the
server.
Disconnects the client. Unlike the {@link StompClientConnection#close} method, this method send the DISCONNECT
frame to the
server.
Disconnects the client. Unlike the {@link StompClientConnection#close} method, this method send the DISCONNECT
frame to the
server. This method lets you customize the DISCONNECT
frame.
Disconnects the client. Unlike the {@link StompClientConnection#close} method, this method send the DISCONNECT
frame to the
server. This method lets you customize the DISCONNECT
frame.
Sets a handler notified when an ERROR
frame is received by the client. The handler receives the ERROR
frame and a reference on the StompClientConnection.
Configures the exception handler notified upon TCP-level errors.
Returns whether or not the CONNECTED
frame has been receive meaning that the Stomp connection is established.
Sends a non-acknowledgement for the given message. It means that the message has not been handled by the client.
The id
parameter is the message id received in the frame.
Sends a non-acknowledgement for the given message. It means that the message has not been handled by the client.
The id
parameter is the message id received in the frame.
Sends a non-acknowledgement for the given frame. It means that the frame has not been handled by the client. The sent non-acknowledgement is part of the transaction identified by the given id.
Sends a non-acknowledgement for the given frame. It means that the frame has not been handled by the client. The sent non-acknowledgement is part of the transaction identified by the given id.
Sets a handler that let customize the behavior when a ping needs to be sent to the server. Be aware that changing the default behavior may break the compliance with the STOMP specification.
Configures a received handler that get notified when a STOMP frame is received by the client. This handler can be used for logging, debugging or ad-hoc behavior. The frame can still be modified by the handler.
Unlike {@link StompClient#receivedFrameHandler}, the given handler won't receive the CONNECTED
frame. If a received frame handler is set on the StompClient, it will be used by all
clients connection, so calling this method is useless, except if you want to use a different handler.
Sends a SEND
frame to the server.
Sends a SEND
frame to the server.
Sends a SEND
frame to the server to the given destination. The message does not have any other header.
Sends a SEND
frame to the server to the given destination. The message does not have any other header.
Sends the given frame to the server.
Sends the given frame to the server.
Sends a SEND
frame to the server to the given destination.
Sends a SEND
frame to the server to the given destination.
Subscribes to the given destination. This destination is used as subscription id.
Subscribes to the given destination. This destination is used as subscription id.
Subscribes to the given destination.
Subscribes to the given destination.
Un-subscribes from the given destination. This method only works if the subscription did not specifies a
subscription id (using the id
header).
Un-subscribes from the given destination. This method only works if the subscription did not specifies a
subscription id (using the id
header).
Un-subscribes from the given destination. This method computes the subscription id as follows. If the given
headers contains the id
header, the header value is used. Otherwise the destination is used.
Un-subscribes from the given destination. This method computes the subscription id as follows. If the given
headers contains the id
header, the header value is used. Otherwise the destination is used.
Configures a handler notified when a frame is going to be written on the wire. This handler can be used from logging, debugging. The handler can modify the received frame.
If a writing frame handler is set on the StompClient, it will be used by all clients connection, so calling this method is useless, except if you want to use a different handler.
Generated using TypeDoc
Once a connection to the STOMP server has been made, client receives a StompClientConnection, that let send and receive STOMP frames.