vertx / io.vertx.reactivex.core.eventbus / MessageProducer / send

send

open fun send(message: T): MessageProducer<T>

This method actually sends a message using the send semantic regardless this producer is a sender or a publisher.

Parameters

message - the message to send

Return
reference to this for fluency

open fun <R : Any> send(message: T, replyHandler: Handler<AsyncResult<Message<R>>>): MessageProducer<T>

Like io.vertx.reactivex.core.eventbus.MessageProducer#send but specifying a replyHandler that will be called if the recipient subsequently replies to the message.

Parameters

message - the message to send

replyHandler - reply handler will be called when any reply from the recipient is received, may be null

Return
reference to this for fluency