vertx / io.vertx.ext.stomp / DefaultCommitHandler

# DefaultCommitHandler

`open class DefaultCommitHandler : Handler<ServerFrame>`

STOMP compliant actions executed when receiving a `COMMIT` frame. All frames that are part of the transactions are processed (`ACK/NACK` and `SEND` frames). If the `COMMIT` frame defines a `receipt`, the `RECEIPT` frame is sent once all frames have been replayed. This handler is thread safe.

Author
Clement Escoffier

### Constructors

<init> | `DefaultCommitHandler()` STOMP compliant actions executed when receiving a `COMMIT` frame. All frames that are part of the transactions are processed (`ACK/NACK` and `SEND` frames). If the `COMMIT` frame defines a `receipt`, the `RECEIPT` frame is sent once all frames have been replayed. This handler is thread safe.

### Functions

handle | `open fun handle(serverFrame: ServerFrame): Unit`