예제 #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;
 }
예제 #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);
 }