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