public override Task AbandonAsync(FeedbackBatch feedback) { return(AmqpClientHelper.DisposeMessageAsync( _faultTolerantReceivingLink, feedback.LockToken, AmqpConstants.ReleasedOutcome, true)); }
public override Task AbandonAsync(FileNotification fileNotification) { return(AmqpClientHelper.DisposeMessageAsync( _faultTolerantReceivingLink, fileNotification.LockToken, AmqpConstants.ReleasedOutcome, false)); }
public override Task CompleteAsync(FeedbackBatch feedback) { return(AmqpClientHelper.DisposeMessageAsync( this.faultTolerantReceivingLink, feedback.LockToken, AmqpConstants.AcceptedOutcome, true)); }
public override Task CompleteAsync(FileNotification fileNotification) { return(AmqpClientHelper.DisposeMessageAsync( this.faultTolerantReceivingLink, fileNotification.LockToken, AmqpConstants.AcceptedOutcome, false)); }
public override Task AbandonAsync(FeedbackBatch feedback) { return(AmqpClientHelper.DisposeMessageAsync( _faultTolerantReceivingLink, feedback.LockToken, AmqpConstants.ReleasedOutcome, false)); // Feedback messages are sent by the service one at a time, so batching the acks is pointless }
public override Task CompleteAsync(FeedbackBatch feedback, CancellationToken cancellationToken) { return(AmqpClientHelper.DisposeMessageAsync( _faultTolerantReceivingLink, feedback.LockToken, AmqpConstants.AcceptedOutcome, false, // Feedback messages are sent by the service one at a time, so batching the acks is pointless cancellationToken)); }