abstract fun nack(id: String): StompClientConnection
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.
id - the message id of the message to acknowledge
Return
the current StompClientConnection
abstract fun nack(id: String, receiptHandler: Handler<Frame>): StompClientConnection
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.
id - the message id of the message to acknowledge
receiptHandler - the handler invoked when the RECEIPT frame associated with the non-acknowledgment has been processed by the server. The handler receives the sent frame (NACK).
Return
the current StompClientConnection
abstract fun nack(id: String, txId: String): StompClientConnection
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.
id - the message id of the message to acknowledge
Return
the current StompClientConnection
abstract fun nack(id: String, txId: String, receiptHandler: Handler<Frame>): StompClientConnection
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.
id - the message id of the message to acknowledge
receiptHandler - the handler invoked when the RECEIPT frame associated with the non-acknowledgment has been processed by the server. The handler receives the sent frame (NACK).
Return
the current StompClientConnection