vertx / io.vertx.rxjava.core.eventbus / EventBus / sender

# sender

`open fun <T : Any> sender(address: String): MessageProducer<T>`

Create a message sender against the specified address.

The returned sender will invoke the `io.vertx.rxjava.core.eventbus.EventBus#send` method when the stream `io.vertx.rxjava.core.streams.WriteStream#write` method is called with the sender address and the provided data.

### Parameters

`address` - the address to send it to

Return
The sender

`open fun <T : Any> sender(address: String, options: DeliveryOptions): MessageProducer<T>`

Like `io.vertx.rxjava.core.eventbus.EventBus#sender` but specifying delivery options that will be used for configuring the delivery of the message.

### Parameters

`address` - the address to send it to

`options` - the delivery options

Return
The sender