public RabbitMqHostConfigurator(Uri hostAddress, string connectionName = null) { _settings = hostAddress.GetConfigurationHostSettings(); _settings.ClientProvidedName = connectionName; _settings.VirtualHost = GetVirtualHost(hostAddress); }
public RabbitMqHostConfigurator(Uri hostAddress) { _settings = new ConfigurationHostSettings { Host = hostAddress.Host, Port = hostAddress.IsDefaultPort ? 5672 : hostAddress.Port, VirtualHost = GetVirtualHost(hostAddress) }; }
public RabbitMqHostConfigurator(string host, string virtualHost, ushort port = 5672) { _settings = new ConfigurationHostSettings { Host = host, Port = port, VirtualHost = virtualHost }; }
public RabbitMqHostConfigurator(string host, string virtualHost, ushort port = 5672, string connectionName = null) { _settings = new ConfigurationHostSettings { Host = host, Port = port, VirtualHost = virtualHost, ClientProvidedName = connectionName }; }
public RabbitMqHostConfigurator(Uri hostAddress) { _settings = hostAddress.GetConfigurationHostSettings(); _settings.VirtualHost = GetVirtualHost(hostAddress); }