vertx / io.vertx.rxjava.rabbitmq / RabbitMQClient / basicPublish

# basicPublish

`open fun basicPublish(exchange: String, routingKey: String, message: JsonObject, resultHandler: Handler<AsyncResult<Void>>): Unit`

Publish a message. Publishing to a non-existent exchange will result in a channel-level protocol exception, which closes the channel. Invocations of Channel#basicPublish will eventually block if a resource-driven alarm is in effect.

### Parameters

`exchange` -

`routingKey` -

`message` -

`resultHandler` -