Beispiel #1
0
        /// <summary>应用配置</summary>
        /// <param name="setting"></param>
        public virtual void Configure(MqSetting setting)
        {
            NameServerAddress = setting.NameServer;
            Topic             = setting.Topic;
            Group             = setting.Group;

            Server    = setting.Server;
            AccessKey = setting.AccessKey;
            SecretKey = setting.SecretKey;
        }
Beispiel #2
0
 /// <summary>应用配置</summary>
 /// <param name="setting"></param>
 public virtual void Configure(MqSetting setting)
 {
     Server    = setting.Server;
     AccessKey = setting.AccessKey;
     SecretKey = setting.SecretKey;
 }