Added rabbitmq to send events

This commit is contained in:
Davidson Gomes
2023-08-18 10:38:32 -03:00
parent c4d41134b8
commit 201e6f7e7b
2 changed files with 3 additions and 8 deletions

View File

@@ -27,10 +27,8 @@ export const initAMQP = () => {
channel.assertExchange(exchangeName, 'topic', {
durable: true,
autoDelete: false,
arguments: {
queueType: 'quorum',
},
});
amqpChannel = channel;
logger.info('AMQP initialized');