Search code examples
curlrabbitmqrabbitmq-exchangerabbitmqctl

RabbitMQ: How to delete/move messages in queue from curl


I've multiple RabbitMQ Servers.

I need an interface(with JSP) where i can manage(delete queues/exchanges/messages) of all these servers .

Internally I'll call the curl commands to do the operations.

Example: To create queue

curl -i -u test:test -H "content-type:application/json" \
    -XPUT -d'{"type":"direct","durable":true}' \
    http://192.168.0.30:15672/api/queues/%2f/myQueue

How can i delete/move messages in a queue with curl?


Solution

  • The answer for my question is found at

    https://groups.google.com/d/msg/rabbitmq-users/IS-3v4qNduw/oPseA7VxEgAJ