mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
Messages sent by the api now arrive in chatwoot
This commit is contained in:
parent
680c92ecec
commit
c4d41134b8
@ -24,7 +24,13 @@ export const initAMQP = () => {
|
||||
|
||||
const exchangeName = 'evolution_exchange';
|
||||
|
||||
channel.assertExchange(exchangeName, 'topic', { durable: false });
|
||||
channel.assertExchange(exchangeName, 'topic', {
|
||||
durable: true,
|
||||
autoDelete: false,
|
||||
arguments: {
|
||||
queueType: 'quorum',
|
||||
},
|
||||
});
|
||||
amqpChannel = channel;
|
||||
|
||||
logger.info('AMQP initialized');
|
||||
|
@ -601,9 +601,9 @@ export class WAStartupService {
|
||||
|
||||
amqp.assertExchange(exchangeName, 'topic', {
|
||||
durable: true,
|
||||
'auto-delete': false,
|
||||
autoDelete: false,
|
||||
arguments: {
|
||||
'x-queue-type': 'quorum',
|
||||
queueType: 'quorum',
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user