import config from '../../config' ; import RabbitMqConfig from '../../../../../Shared/infrastructure/EventBus/RabbitMq/RabbitMqConfig' ; export class RabbitMqConfigFactory { static createConfig ( ) { return { host : config . get ( 'rabbitMQ.host' ) , user : config . get ( 'rabbitMQ.user' ) , password : config . get ( 'rabbitMQ.password' ) , queue : config . get ( 'rabbitMQ.queue' ) , exchange : config . get ( 'rabbitMQ.exchange' ) } ; } }