コード例 #1
0
 void consumeCamapaignMessage(Message message)
 {
     try
     {
         AutomationWorkflow workflow = automationWorkflows.Values.Where(w => w.WorkflowId == message.WorkflowId).FirstOrDefault();
         if (workflow != null)
         {
             workflow.ProcessMessage(message, workflow.WorkflowId);
         }
     }
     catch (Exception ex)
     {
         Logger.Current.Error("An error ocured while processing campaign sent message : " + ex);
     }
 }