Esempio n. 1
0
 public static void TryOnFailed(
     this IMessageAuditor messageAuditor,
     ILogger logger,
     IBus bus,
     FailedMessageInformation failedMessageInformation
     )
 {
     try
     {
         messageAuditor.OnFailed(bus, failedMessageInformation);
     }
     catch (Exception ex)
     {
         logger.Output(LogLevel.Error, string.Format("messageAuditor.OnFailed - {0}", ex));
     }
 }
 public static void TryOnFailed(
     this IMessageAuditor messageAuditor,
     ILogger logger,
     IBus bus,
     FailedMessageInformation failedMessageInformation
 )
 {
     try
     {
         messageAuditor.OnFailed(bus, failedMessageInformation);
     }
     catch (Exception ex)
     {
         logger.Output(LogLevel.Error, string.Format("messageAuditor.OnFailed - {0}", ex));
     }
 }