vertx / io.vertx.rxjava.mqtt / MqttEndpoint / publishAcknowledgeHandler

# publishAcknowledgeHandler

`open fun publishAcknowledgeHandler(handler: Handler<Int>): MqttEndpoint`

Set the puback handler on the MQTT endpoint. This handler is called when a PUBACK message is received by the remote MQTT client

### Parameters

`handler` - the handler

Return
a reference to this, so the API can be used fluently