public RequestConfigurationMiddleware(IRequestConfigurationFactory factory)
 {
     _factory = factory;
 }
 public RequestConfigurationMiddleware(IPublisherConfigurationFactory publisher, IConsumerConfigurationFactory consumer)
 {
     _factory = new RequestConfigurationFactory(publisher, consumer);
 }