vertx / io.vertx.rxjava.ext.stomp / StompClientConnection / abort

abort

open fun abort(id: String): StompClientConnection

Aborts a transaction.

Parameters

id - the transaction id, must not be null

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection

open fun abort(id: String, receiptHandler: Handler<Frame>): StompClientConnection

Aborts a transaction.

Parameters

id - the transaction id, must not be null

receiptHandler - the handler invoked when the RECEIPT frame associated with the transaction cancellation has been processed by the server. The handler receives the sent frame (ABORT).

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection

open fun abort(id: String, headers: MutableMap<String, String>): StompClientConnection

Aborts a transaction.

Parameters

id - the transaction id, must not be null

headers - additional headers to send to the server. The transaction header is replaced by the value passed in the @{code id} parameter

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection

open fun abort(id: String, headers: MutableMap<String, String>, receiptHandler: Handler<Frame>): StompClientConnection

Aborts a transaction.

Parameters

id - the transaction id, must not be null

headers - additional headers to send to the server. The transaction header is replaced by the value passed in the @{code id} parameter

receiptHandler - the handler invoked when the RECEIPT frame associated with the transaction cancellation has been processed by the server. The handler receives the sent frame (ABORT).

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection