vertx / io.vertx.kotlin.rabbitmq / io.vertx.rabbitmq.RabbitMQClient / exchangeDeclareAwait

# exchangeDeclareAwait

`suspend fun RabbitMQClient.exchangeDeclareAwait(exchange: String, type: String, durable: Boolean, autoDelete: Boolean): Unit`

Declare an exchange.

### Parameters

`exchange` -

`type` -

`durable` -

`autoDelete` -

`resultHandler` -

`suspend fun RabbitMQClient.exchangeDeclareAwait(exchange: String, type: String, durable: Boolean, autoDelete: Boolean, config: JsonObject): Unit`

Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.

### Parameters

`exchange` -

`type` -

`durable` -

`autoDelete` -

`config` -

`resultHandler` -