public RabbitMqBusConfiguration(IRabbitMqTopologyConfiguration topologyConfiguration) : base(topologyConfiguration) { HostConfiguration = new RabbitMqHostConfiguration(this, topologyConfiguration); BusEndpointConfiguration = CreateEndpointConfiguration(); _busObservers = new BusObservable(); }
public IRabbitMqHostConfiguration CreateHostConfiguration(IRabbitMqHostControl host) { var hostConfiguration = new RabbitMqHostConfiguration(this, host); _hosts.Add(hostConfiguration); return(hostConfiguration); }
public IRabbitMqHostConfiguration CreateHostConfiguration(RabbitMqHostSettings hostSettings) { var hostTopology = new RabbitMqHostTopology(_exchangeTypeSelector, _messageNameFormatter, hostSettings.HostAddress, Topology); var hostConfiguration = new RabbitMqHostConfiguration(this, hostSettings, hostTopology); _hosts.Add(hostConfiguration); return(hostConfiguration); }