public SingleCallChannelReceiver(Func <string, IChannelReceiver> channelFactory, IGatewayDeduplicationStorage deduplicationStorage, IDataBus databus, bool useTransactionScope)
 {
     this.channelFactory       = channelFactory;
     this.deduplicationStorage = deduplicationStorage;
     this.databus             = databus;
     this.useTransactionScope = useTransactionScope;
     headerManager            = new DataBusHeaderManager();
 }
 public void SetUp()
 {
     storage = GatewayPersistenceTestsConfiguration.Current.CreateStorage();
 }
 public GatewayReceiverStartupTask(IManageReceiveChannels channelManager, Func <string, IChannelReceiver> channelReceiverFactory, EndpointRouter endpointRouter, IMessageDispatcher dispatcher, IGatewayDeduplicationStorage deduplicationStorage, IDataBus databus, string replyToAddress, TransportTransactionMode transportTransactionMode)
 {
     dispatchMessages          = dispatcher;
     this.deduplicationStorage = deduplicationStorage;
     this.databus                  = databus;
     this.endpointRouter           = endpointRouter;
     manageReceiveChannels         = channelManager;
     this.channelReceiverFactory   = channelReceiverFactory;
     this.replyToAddress           = replyToAddress;
     this.transportTransactionMode = transportTransactionMode;
 }