vertx / io.vertx.rabbitmq / RabbitMQClient / basicPublish

# basicPublish

`abstract 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.

See Also
com.rabbitmq.client.Channel#basicPublish(String, String, AMQP.BasicProperties, byte[])