rabbitmq_delete_queue
Delete a specified RabbitMQ queue with second confirmation; if unconfirmed, return an impact estimate. Optionally restrict deletion to unused or empty queues.
Instructions
受控删除指定队列.
强制要求二次确认 (confirm: bool = False),未确认时仅返回受影响预估报告 (ADR-0002)。
@param name 待删除的队列名称 @param confirm 二次确认标识,默认为 False @param if_unused 是否仅在无消费者时删除,默认为 False @param if_empty 是否仅在队列为空时删除,默认为 False @param connection 目标连接别名,默认为 'default' @return 删除结果或二次确认预估报告
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| if_empty | No | ||
| if_unused | No | ||
| connection | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||