Example #1
0
 /// <inheritdoc/>
 public Task DelayMessage(QueueContext messageContext, int milliseconds)
 {
     messageContext.MessageData.NotBefore = _clock.UtcNow.AddMilliseconds(milliseconds);
     _counters.DelayMessage();
     return(_dataAccess.Update(messageContext.MessageData, messageContext.SourceQueue));
 }