public static void InitDefaultConnection(MqConfig mQConfig, string vHost, string exchange) { DefaultMQConfig = mQConfig; VHost = vHost; Exchange = exchange; PrefetchCount = mQConfig.PrefetchCount; }
public static void InitDefaultConnection(MqConfig mQConfig) { DefaultMQConfig = mQConfig; VHost = mQConfig.vHost; Exchange = mQConfig.ExchangeName; PrefetchCount = mQConfig.PrefetchCount; }
public MqChannelManager(MqConfig config) : this(new MqConnection(config)) { }
public MqServiceBase(MqConfig config) { Config = config ?? throw new ArgumentNullException(nameof(config)); }
public MqConnection(MqConfig config) { _config = config ?? throw new ArgumentNullException(nameof(config)); //_vhost = config.vHost; }