queueDeclare

open suspend override fun queueDeclare(queue: IMessagingQueue, exchange: IMessagingExchange?, durable: Boolean, exclusive: Boolean, autoDelete: Boolean, arguments: Map<String, Field>)

Declares a queue with the specified parameters.

Parameters

queue

The queue to declare.

exchange

The exchange to bind the queue to (optional).

durable

Whether the queue should be durable (default is true).

exclusive

Whether the queue should be exclusive (default is false).

autoDelete

Whether the queue should be auto-deleted (default is false).

arguments

Additional arguments for the queue.