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: MutableMap<String, String>, resultHandler: Handler<AsyncResult<Void>>): Unit`

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

### Parameters

`exchange` -

`type` -

`durable` -

`autoDelete` -

`config` -

`resultHandler` -