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

# publish

`open fun publish(address: String, message: Any): EventBus`

Publish a message.

The message will be delivered to all handlers registered to the address.

### Parameters

`address` - the address to publish it to

`message` - the message, may be `null`

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

`open fun publish(address: String, message: Any, options: DeliveryOptions): EventBus`

Like `io.vertx.rxjava.core.eventbus.EventBus#publish` but specifying `options` that can be used to configure the delivery.

### Parameters

`address` - the address to publish it to

`message` - the message, may be `null`

`options` - the delivery options

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