public void UseCluster(Action<IRabbitMqClusterConfigurator> configureCluster) { var configurator = new RabbitMqClusterConfigurator(); configureCluster(configurator); _settings.ClusterMembers = configurator.ClusterMembers; _settings.HostNameSelector = configurator.GetHostNameSelector(); }
public void UseCluster(Action <IRabbitMqClusterConfigurator> configureCluster) { var configurator = new RabbitMqClusterConfigurator(); configureCluster(configurator); _settings.ClusterMembers = configurator.ClusterMembers; _settings.HostNameSelector = configurator.GetHostNameSelector(); }