fix: exchange rabbitmq

This commit is contained in:
Davidson Gomes
2023-12-29 09:46:59 -03:00
parent 3ccb983377
commit d8ce23f2a0
2 changed files with 5 additions and 1 deletions

View File

@@ -779,6 +779,7 @@ export class WAStartupService {
amqp.assertExchange(exchangeName, 'topic', {
durable: true,
autoDelete: false,
assert: true,
});
const queueName = `${this.instanceName}.${event}`;