Esempio n. 1
0
 /// <summary>
 /// Creates the monitor.
 /// </summary>
 private ServiceConfigurator CreateErrorHandlingController()
 {
     if (_HermEsbServiceConfig.ErrorHandlingController.ElementInformation.IsPresent)
     {
         var errorHandlingConfigurator = new ErrorHandlingControllerConfigurator(_HermEsbServiceConfig.ErrorHandlingController, _identification);
         _errorHandlingController = errorHandlingConfigurator.Create();
     }
     else
     {
         _errorHandlingController = ErrorHandlingControllerFactory.NullController;
     }
     return this;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates the monitor.
 /// </summary>
 private ServiceConfigurator CreateErrorHandlingController()
 {
     if (_HermEsbServiceConfig.ErrorHandlingController.ElementInformation.IsPresent)
     {
         var errorHandlingConfigurator = new ErrorHandlingControllerConfigurator(_HermEsbServiceConfig.ErrorHandlingController, _identification);
         _errorHandlingController = errorHandlingConfigurator.Create();
     }
     else
     {
         _errorHandlingController = ErrorHandlingControllerFactory.NullController;
     }
     return(this);
 }