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

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