public InMemoryBusConfiguration(IInMemoryTopologyConfiguration topologyConfiguration, Uri baseAddress) : base(topologyConfiguration) { HostConfiguration = new InMemoryHostConfiguration(this, baseAddress, topologyConfiguration); BusEndpointConfiguration = CreateEndpointConfiguration(); _busObservers = new BusObservable(); }
public IInMemoryHostConfiguration CreateHostConfiguration(InMemoryHost host) { var hostConfiguration = new InMemoryHostConfiguration(this, host); _hosts.Add(hostConfiguration); return(hostConfiguration); }
public IInMemoryHostConfiguration CreateHostConfiguration(Uri baseAddress, int transportConcurrencyLimit) { var hostTopology = new InMemoryHostTopology(_topologyConfiguration); var hostConfiguration = new InMemoryHostConfiguration(this, baseAddress, transportConcurrencyLimit, hostTopology); _hosts.Add(hostConfiguration); return(hostConfiguration); }