create_exchange
Creates a RabbitMQ exchange by name with configurable type (direct, topic, headers, fanout), vhost, and durable flag to route messages.
Instructions
创建交换机
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 交换机名称 | |
| type | No | 交换机类型 (direct, topic, headers, fanout) | direct |
| vhost | No | 虚拟主机名称 (默认: /) | / |
| durable | No | 是否持久化 |