rabbitmq_purge_queue
Purge all pending messages from a RabbitMQ queue with explicit confirmation; if confirmation is missing, return an impact estimate before clearing anything.
Instructions
受控清空指定队列中的全部待消费消息.
强制要求二次确认 (confirm: bool = False),未确认时仅返回受影响预估报告 (ADR-0002)。
@param name 目标队列名称 @param confirm 二次确认标识,默认为 False @param connection 目标连接别名,默认为 'default' @return 清空结果或二次确认预估报告
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| connection | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||