Created
June 28, 2018 15:16
-
-
Save Zerpet/5f42dce5bce39a3eabcfd62a32bdfa71 to your computer and use it in GitHub Desktop.
RabbitMQ definition to example message TTL and DLX
This file contains 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
{ | |
"bindings": [ | |
{ | |
"arguments": {}, | |
"destination": "dead", | |
"destination_type": "queue", | |
"routing_key": "", | |
"source": "dlx", | |
"vhost": "/" | |
}, | |
{ | |
"arguments": {}, | |
"destination": "foo-topic", | |
"destination_type": "queue", | |
"routing_key": "foo.#", | |
"source": "foo", | |
"vhost": "/" | |
} | |
], | |
"exchanges": [ | |
{ | |
"arguments": {}, | |
"auto_delete": false, | |
"durable": true, | |
"internal": false, | |
"name": "dlx", | |
"type": "fanout", | |
"vhost": "/" | |
}, | |
{ | |
"arguments": {}, | |
"auto_delete": false, | |
"durable": true, | |
"internal": false, | |
"name": "foo", | |
"type": "topic", | |
"vhost": "/" | |
} | |
], | |
"global_parameters": [ | |
{ | |
"name": "cluster_name", | |
"value": "rabbit@rabbitmq-server1" | |
} | |
], | |
"parameters": [], | |
"permissions": [ | |
{ | |
"configure": ".*", | |
"read": ".*", | |
"user": "guest", | |
"vhost": "/", | |
"write": ".*" | |
} | |
], | |
"policies": [], | |
"queues": [ | |
{ | |
"arguments": {}, | |
"auto_delete": false, | |
"durable": true, | |
"name": "dead", | |
"vhost": "/" | |
}, | |
{ | |
"arguments": { | |
"x-dead-letter-exchange": "dlx", | |
"x-message-ttl": 15000 | |
}, | |
"auto_delete": false, | |
"durable": true, | |
"name": "foo-topic", | |
"vhost": "/" | |
} | |
], | |
"rabbit_version": "3.7.6", | |
"topic_permissions": [], | |
"users": [ | |
{ | |
"hashing_algorithm": "rabbit_password_hashing_sha256", | |
"name": "guest", | |
"password_hash": "At4mW8mu/z8xAuMJU2uEuCiK/1XLj1RaoxYg7P6LqSfJJ2We", | |
"tags": "administrator" | |
} | |
], | |
"vhosts": [ | |
{ | |
"name": "/" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment