Nack

data class Nack(val headers: StompNackHeaders) : StompFrame

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.

Constructors

Link copied to clipboard
fun Nack(headers: StompNackHeaders)

Properties

Link copied to clipboard
open val body: FrameBody? = null

The body of this STOMP frame.

Link copied to clipboard
val bodyAsText: String

The body of this frame as text.

Link copied to clipboard
val command: StompCommand

The command of this STOMP frame, which is the first word of the frame.

Link copied to clipboard
open override val headers: StompNackHeaders

The headers of this STOMP frame.

Sources

Link copied to clipboard