exchangeDeclare
open suspend override fun exchangeDeclare(name: String, type: String, durable: Boolean, autoDelete: Boolean, internal: Boolean, arguments: Table): AMQPResponse.Channel.Exchange.Declared
Declare an exchange.
Return
AMQPResponse.Channel.Exchange.Declared
Parameters
name
Name of the exchange.
type
Type of the exchange.
durable
If enabled, creates an exchange stored on disk; otherwise, transient.
autoDelete
If enabled, exchange will be deleted when the last consumer has stopped consuming.
internal
Whether the exchange cannot be directly published to by client.
arguments
Additional arguments (check RabbitMQ documentation).