public static void Requeue(IAcknowledgmentCallback ackCallback) { if (ackCallback != null) { ackCallback.Acknowledge(Status.REQUEUE); } }
public static void Accept(IAcknowledgmentCallback ackCallback) { if (ackCallback != null) { ackCallback.Acknowledge(Status.ACCEPT); } }
public static void Reject(IAcknowledgmentCallback ackCallback) { if (ackCallback != null) { ackCallback.Acknowledge(Status.REJECT); } }
public static void AutoNack(IAcknowledgmentCallback ackCallback) { if (ackCallback != null && ackCallback.IsAutoAck && !ackCallback.IsAcknowledged) { ackCallback.Acknowledge(Status.REJECT); } }