/// <summary> /// Completes a subscribed message /// </summary> /// <param name="context"></param> /// <returns></returns> public Task Complete(SubscribedContext context) { context.MessageData.Completed = _clock.UtcNow; _counters.CompleteMessage(); return(_dataAccess.CompleteMessage(context.MessageData)); }
/// <inheritdoc/> public Task Complete(QueueContext messageContext) { messageContext.MessageData.Completed = _clock.UtcNow; _counters.CompleteMessage(); return(_dataAccess.CompleteMessage(messageContext.MessageData, messageContext.SourceQueue)); }