Esempio n. 1
0
 void HandleMessageReceived(object sender, TransportMessageReceivedEventArgs e, ISatellite satellite)
 {
     try
     {
         satellite.Handle(e.Message);
     }
     catch (Exception ex)
     {
         Logger.ErrorFormat("{0} could not handle message. Exception: {1}", satellite.GetType().Name, ex.Message);
         throw;
     }
 }
Esempio n. 2
0
 void HandleMessageReceived(object sender, TransportMessageReceivedEventArgs e, ISatellite satellite)
 {
     try
     {
         satellite.Handle(e.Message);
     }
     catch (Exception ex)
     {
         Logger.ErrorFormat("{0} could not handle message. Exception: {1}", satellite.GetType().Name, ex.Message);
         throw;
     }
 }