Пример #1
0
 public void PushQueueChangePriceLog(JobRabbitChangePrice job)
 {
     while (true)
     {
         try
         {
             this.PublishJob(new Job
             {
                 Type = 0,
                 Data = job.ToArrayByte()
             });
             return;
         }
         catch (Exception ex01)
         {
             _log.Error("Ex when push change price log:", ex01);
             Thread.Sleep(10000);
         }
     }
 }