update broker handler
This commit is contained in:
parent
e07e19261e
commit
ca693087d2
|
@ -18,10 +18,13 @@ import { AdMessagerController } from './adapters/primaries/ad-messager.controlle
|
||||||
adCreated: {
|
adCreated: {
|
||||||
exchange: configService.get<string>('RMQ_EXCHANGE'),
|
exchange: configService.get<string>('RMQ_EXCHANGE'),
|
||||||
routingKey: 'ad.created',
|
routingKey: 'ad.created',
|
||||||
|
queue: `${configService.get<string>(
|
||||||
|
'RMQ_EXCHANGE',
|
||||||
|
)}-matcher-ad-created`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
uri: configService.get<string>('RMQ_URI'),
|
uri: configService.get<string>('RMQ_URI'),
|
||||||
connectionInitOptions: { wait: true },
|
connectionInitOptions: { wait: false },
|
||||||
enableControllerDiscovery: true,
|
enableControllerDiscovery: true,
|
||||||
}),
|
}),
|
||||||
inject: [ConfigService],
|
inject: [ConfigService],
|
||||||
|
|
Loading…
Reference in New Issue