Colas persistentes

This commit is contained in:
2026-05-12 13:37:48 +02:00
parent 23c61097a8
commit 985c85da59
3 changed files with 96 additions and 91 deletions

View File

@@ -46,8 +46,8 @@ async function buildQueues(channel: Channel) {
await channel.assertExchange(EXCHANGES.DLX, "topic")
await channel.assertExchange(EXCHANGES.MAIN, "topic")
await channel.assertQueue(QUEUES.OBJ)
await channel.assertQueue(QUEUES.OBJDLX)
await channel.assertQueue(QUEUES.OBJ, { durable: true })
await channel.assertQueue(QUEUES.OBJDLX, { durable: true })
await channel.assertQueue(QUEUES.OBJDEL, {
durable: true,
arguments: {