/// <summary>
 /// Reads settings parameters from the Config file
 /// </summary>
 private void ReadConfigSettings(string serverConfig)
 {
     try
     {
         _mqConfigParameters = MqConfigurationReader.ReadServerMqProperties(serverConfig);
     }
     catch (Exception exception)
     {
         Logger.Error(exception, _type.FullName, "ReadConfigSettings");
     }
 }
Пример #2
0
 /// <summary>
 /// Argument Constructor
 /// </summary>
 /// <param name="serverMqConfigFile">File from which to read MQ Server parameters</param>
 /// <param name="clientMqConfigFile">File from which to read MQ Client parameters</param>
 public ClientMqServer(string serverMqConfigFile, string clientMqConfigFile)
 {
     // Save parameter values
     _serverMqParameters = MqConfigurationReader.ReadServerMqProperties(serverMqConfigFile);
     _clientMqParameters = MqConfigurationReader.ReadServerMqProperties(clientMqConfigFile);
 }