private void OnErrorHandler(object sender, ErrorOnHandlersEventHandlerArgs args) { var message = ErrorMessageFactory.CreateErrorHandlerMessageFromEventArgs(args); message.ServiceId = _identification; _outputGateway.Send(message); }