vertx / io.vertx.reactivex.core.eventbus / Message / reply

# reply

`open fun reply(message: Any): Unit`

Reply to this message.

If the message was sent specifying a reply handler, that handler will be called when it has received a reply. If the message wasn't sent specifying a receipt handler this method does nothing.

### Parameters

`message` - the message to reply with.

`open fun <R : Any> reply(message: Any, replyHandler: Handler<AsyncResult<Message<R>>>): Unit`

The same as `reply(R message)` but you can specify handler for the reply - i.e. to receive the reply to the reply.

### Parameters

`message` - the message to reply with.

`replyHandler` - the reply handler for the reply.

`open fun reply(message: Any, options: DeliveryOptions): Unit`

Link `io.vertx.reactivex.core.eventbus.Message#reply` but allows you to specify delivery options for the reply.

### Parameters

`message` - the reply message

`options` - the delivery options

`open fun <R : Any> reply(message: Any, options: DeliveryOptions, replyHandler: Handler<AsyncResult<Message<R>>>): Unit`

The same as `reply(R message, DeliveryOptions)` but you can specify handler for the reply - i.e. to receive the reply to the reply.

### Parameters

`message` - the reply message

`options` - the delivery options

`replyHandler` - the reply handler for the reply.