📜  通过 HTTP API 在 RabbitMQ 中发送持久消息 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:50.778000             🧑  作者: Mango

代码示例1
curl -u guest:guest -H "content-type:application/json" -X POST -d'{"properties":{"delivery_mode":2},"routing_key":"QueueName","payload":"HI","payload_encoding":"string"}' http://localhost:15672/api/exchanges/%2f/amq.default/publish