Created
June 19, 2019 21:20
-
-
Save johanrhodin/e5256c65fa4d024ef8ce0eaf97f3993a to your computer and use it in GitHub Desktop.
Use curl to create and delete a RabbitMQ shovel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -i -v -X PUT -H 'Content-Type: application/json' https://vhost:[email protected]/api/parameters/shovel/vhost/my-shovel2 -d '{"value":{"src-protocol": "amqp091","src-uri":"amqp://vhost@/vhost","src-queue":"q1","dest-protocol": "amqp091", "dest-uri": "amqp://vhost@/vhost","dest-queue": "q2"}}' | |
| curl -i -v -X DELETE -H 'Content-Type: application/json' https://vhost:[email protected]/api/parameters/shovel/vhost/my-shovel2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment