Ejemplo n.º 1
0
 public static TransStream DoResponse(this IQueueItem item)
 {
     if (item != null)
     {
         return(item.ToTransStream());
     }
     return(null);
 }
Ejemplo n.º 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());
 }