RawRabbit.Channel.ChannelFactory.ConnectToBroker C# (CSharp) Method

ConnectToBroker() protected method

protected ConnectToBroker ( ) : void
return void
		protected virtual void ConnectToBroker()
		{
			try
			{
				_connection = _connectionFactory.CreateConnection(_config.Hostnames);
				SetupConnectionRecovery(_connection);
			}
			catch (BrokerUnreachableException e)
			{
				_logger.LogError("Unable to connect to broker", e);
				throw e.InnerException;
			}
		}