queueDelete

abstract suspend fun queueDelete(name: String, ifUnused: Boolean = false, ifEmpty: Boolean = false): AMQPResponse.Channel.Queue.Deleted

Deletes a queue.

Return

AMQPResponse.Channel.Queue.Deleted confirming that broker has accepted the delete request.

Parameters

name

Name of the queue.

ifUnused

If enabled, queue will be deleted only when there are no consumers subscribed to it.

ifEmpty

If enabled, queue will be deleted only when it's empty.