diff --git a/src/modules/ad/ad.modules.ts b/src/modules/ad/ad.modules.ts index bb8b761..7b98c89 100644 --- a/src/modules/ad/ad.modules.ts +++ b/src/modules/ad/ad.modules.ts @@ -18,10 +18,13 @@ import { AdMessagerController } from './adapters/primaries/ad-messager.controlle adCreated: { exchange: configService.get('RMQ_EXCHANGE'), routingKey: 'ad.created', + queue: `${configService.get( + 'RMQ_EXCHANGE', + )}-matcher-ad-created`, }, }, uri: configService.get('RMQ_URI'), - connectionInitOptions: { wait: true }, + connectionInitOptions: { wait: false }, enableControllerDiscovery: true, }), inject: [ConfigService],