Files
mtusi2026lab7/infra/rabbitmq/definitions.json
T

31 lines
1008 B
JSON

{
"users": [
{"name": "relay", "password": "relay-secret", "tags": ""},
{"name": "worker", "password": "worker-secret", "tags": ""}
],
"vhosts": [{"name": "/"}],
"permissions": [
{
"user": "relay",
"vhost": "/",
"configure": "^(attachment\\.process\\.v1|attachment\\.process\\.v1\\.dlq)$",
"write": "^(amq\\.default|attachment\\.process\\.v1|attachment\\.process\\.v1\\.dlq)$",
"read": "^$"
},
{
"user": "worker",
"vhost": "/",
"configure": "^(attachment\\.process\\.v1|attachment\\.process\\.v1\\.dlq)$",
"write": "^$",
"read": "^attachment\\.process\\.v1$"
}
],
"parameters": [],
"policies": [],
"queues": [
{"name": "attachment.process.v1", "vhost": "/", "durable": true,
"arguments": {"x-dead-letter-exchange": "", "x-dead-letter-routing-key": "attachment.process.v1.dlq", "x-max-priority": 5}},
{"name": "attachment.process.v1.dlq", "vhost": "/", "durable": true}
],
"exchanges": []
}