public void RemoveProcessedMessage(QueueMessage <TMessage> sucefullyProcessedMessage)
 {
     _queue.Remove(sucefullyProcessedMessage);
 }
Esempio n. 2
0
        protected virtual void OnProcessMessageLogException(QueueMessage <TMessage> message, Exception e)
        {
            var errorMessage = $"{ConsumerName}: {e.Message}\nStackTrace:{e.StackTrace}";

            Trace.WriteLine(errorMessage, "Error");
        }