vertx / io.vertx.rxjava.rabbitmq / RabbitMQClient / exchangeDeclare

# exchangeDeclare

`open fun exchangeDeclare(exchange: String, type: String, durable: Boolean, autoDelete: Boolean, resultHandler: Handler<AsyncResult<Void>>): Unit`

Declare an exchange.

### Parameters

`exchange` -

`type` -

`durable` -

`autoDelete` -

`resultHandler` -

`open fun exchangeDeclare(exchange: String, type: String, durable: Boolean, autoDelete: Boolean, config: JsonObject, resultHandler: Handler<AsyncResult<Void>>): Unit`

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

### Parameters

`exchange` -

`type` -

`durable` -

`autoDelete` -

`config` -

`resultHandler` -