mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-27 02:48:39 -06:00
add rabbitMQ log
This commit is contained in:
parent
dead37d5b6
commit
a020eb2310
@ -654,7 +654,9 @@ export class WAStartupService {
|
|||||||
const amqp = getAMQP();
|
const amqp = getAMQP();
|
||||||
|
|
||||||
if (amqp) {
|
if (amqp) {
|
||||||
|
this.logger.verbose('Sending data to rabbitMQ on channel: ' + this.instance.name);
|
||||||
if (Array.isArray(rabbitmqLocal) && rabbitmqLocal.includes(we)) {
|
if (Array.isArray(rabbitmqLocal) && rabbitmqLocal.includes(we)) {
|
||||||
|
this.logger.verbose('Sending data to rabbitMQ on event: ' + event);
|
||||||
const exchangeName = this.instanceName ?? 'evolution_exchange';
|
const exchangeName = this.instanceName ?? 'evolution_exchange';
|
||||||
|
|
||||||
amqp.assertExchange(exchangeName, 'topic', {
|
amqp.assertExchange(exchangeName, 'topic', {
|
||||||
|
Loading…
Reference in New Issue
Block a user