protected virtual void OnProcessMessageLogException(QueueMessage <TMessage> message, Exception e)
        {
            var errorMessage = $"{ConsumerName}: {e.Message}\nStackTrace:{e.StackTrace}";

            Trace.WriteLine(errorMessage, "Error");
        }
示例#2
0
 public async Task RemoveProcessedMessage(QueueMessage <TMessage> sucefullyProcessedMessage)
 {
     await _queue.Remove(sucefullyProcessedMessage);
 }