publish_message
Send a message to a RabbitMQ exchange, specifying routing key and message content.
Instructions
向交换机发布消息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vhost | No | 虚拟主机名称 (默认: /) | / |
| message | Yes | 消息内容 | |
| exchange | No | 交换机名称 (留空使用默认交换机) | |
| routing_key | Yes | 路由键 | |
| content_type | No | 内容类型 (默认: application/json) | application/json |