vertx / io.vertx.ext.stomp / DefaultNackHandler

DefaultNackHandler

open class DefaultNackHandler : Handler<ServerFrame>

STOMP compliant actions executed when receiving a NACK sf.frame(). It removes the acknowledges messages from the list of messages waiting for acknowledgment and trigger an StompServerHandler#onNack(Subscription, List) calls. If the NACK frame specifies a transaction id, the acknowledgment is delayed until the transaction commit. This handler is thread safe.

Author
Clement Escoffier

Constructors

<init>

DefaultNackHandler()

STOMP compliant actions executed when receiving a NACK sf.frame(). It removes the acknowledges messages from the list of messages waiting for acknowledgment and trigger an StompServerHandler#onNack(Subscription, List) calls. If the NACK frame specifies a transaction id, the acknowledgment is delayed until the transaction commit. This handler is thread safe.

Functions

handle

open fun handle(sf: ServerFrame): Unit