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

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