abstract fun <T : Any> sender(address: String): MessageProducer<T>
Create a message sender against the specified address.
The returned sender will invoke the #send(String, Object) method when the stream io.vertx.core.streams.WriteStream#write(Object) method is called with the sender address and the provided data.
address - the address to send it to
Return
The sender
abstract fun <T : Any> sender(address: String, options: DeliveryOptions): MessageProducer<T>
Like #sender(String) but specifying delivery options that will be used for configuring the delivery of the message.
address - the address to send it to
options - the delivery options
Return
The sender