public RabbitMqMessenger(string uri, IExchangeNameFactory exchangeNameFactory, IRoutingKeyFactory routingKeyFactory, IMessageFormatter messageFormatter, ExchangeConfiguration configuration) { _uri = uri; _exchangeNameFactory = exchangeNameFactory; _routingKeyFactory = routingKeyFactory; _messageFormatter = messageFormatter; _configuration = configuration; }