Пример #1
0
 public static TransStream DoResponse(this IQueueItem item)
 {
     if (item != null)
     {
         return(item.ToTransStream());
     }
     return(null);
 }
Пример #2
0
 public static TransStream DoResponse(IQueueItem item)
 {
     if (item == null)
     {
         return(null);
         //throw new MessageException(MessageState.MessageError, "Invalid queue item to write response");
     }
     QLogger.Debug("QueueController DoResponse IQueueAck: {0}", item.Print());
     return(item.ToTransStream());
 }