public InMemoryHost(IInMemoryHostConfiguration hostConfiguration, IInMemoryHostTopology hostTopology) : base(hostConfiguration, hostTopology) { _hostConfiguration = hostConfiguration; _messageFabric = new MessageFabric(hostConfiguration.TransportConcurrencyLimit); }
public InMemoryHost(IInMemoryHostConfiguration hostConfiguration, IInMemoryHostTopology hostTopology) : base(hostConfiguration, hostTopology) { _hostConfiguration = hostConfiguration; Add(hostConfiguration.TransportProvider); }
public InMemoryHost(IInMemoryHostConfiguration hostConfiguration, IInMemoryHostTopology hostTopology) : base(hostConfiguration, hostTopology) { _hostConfiguration = hostConfiguration; _messageFabric = new MessageFabric(hostConfiguration.TransportConcurrencyLimit); var cache = new GreenCache <InMemorySendTransport>(hostConfiguration.SendTransportCacheSettings); _index = cache.AddIndex("exchangeName", x => x.ExchangeName); }
public InMemoryHost(IInMemoryHostConfiguration hostConfiguration, IInMemoryHostTopology hostTopology) : base(hostConfiguration, hostTopology) { _hostConfiguration = hostConfiguration; }