Exemple #1
0
 public static void Requeue(IAcknowledgmentCallback ackCallback)
 {
     if (ackCallback != null)
     {
         ackCallback.Acknowledge(Status.REQUEUE);
     }
 }
Exemple #2
0
 public static void Accept(IAcknowledgmentCallback ackCallback)
 {
     if (ackCallback != null)
     {
         ackCallback.Acknowledge(Status.ACCEPT);
     }
 }
Exemple #3
0
 public static void Reject(IAcknowledgmentCallback ackCallback)
 {
     if (ackCallback != null)
     {
         ackCallback.Acknowledge(Status.REJECT);
     }
 }
Exemple #4
0
 public static void AutoNack(IAcknowledgmentCallback ackCallback)
 {
     if (ackCallback != null && ackCallback.IsAutoAck && !ackCallback.IsAcknowledged)
     {
         ackCallback.Acknowledge(Status.REJECT);
     }
 }