rascal
Version:
A config driven wrapper for amqplib supporting multi-host connections, automatic error recovery, redelivery flood protection, transparent encryption / decryption, channel pooling and publication timeouts
26 lines (25 loc) • 438 B
JSON
{
"$schema": "../../lib/config/schema.json",
"vhosts": {
"/": {
"connection": {
"heartbeat": 1,
"socketOptions": {
"timeout": 1000
}
},
"exchanges": [""],
"queues": ["demo_q"],
"publications": {
"demo_pub": {
"exchange": ""
}
},
"subscriptions": {
"demo_sub": {
"queue": "demo_q"
}
}
}
}
}