feat: Added rabbitmq to send events

This commit is contained in:
Davidson Gomes
2023-08-02 17:28:52 -03:00
parent 24c880343b
commit e05c48979d
18 changed files with 414 additions and 7 deletions

View File

@@ -9,7 +9,8 @@ import { configService, Cors, HttpServer } from './config/env.config';
import { onUnexpectedError } from './config/error.config';
import { Logger } from './config/logger.config';
import { ROOT_DIR } from './config/path.config';
import { initIO } from './libs/socket';
import { initAMQP } from './libs/amqp.server';
import { initIO } from './libs/socket.server';
import { ServerUP } from './utils/server-up';
import { HttpStatus, router } from './whatsapp/routers/index.router';
import { waMonitor } from './whatsapp/whatsapp.module';
@@ -86,6 +87,8 @@ function bootstrap() {
initIO(server);
initAMQP();
onUnexpectedError();
}