Esempio n. 1
0
        public virtual Task NotifyFaulted <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType, Exception exception) where T : class
        {
            IsFaulted = true;

            context.LogFaulted(duration, consumerType, exception);

            return(_receiveObserver.ConsumeFault(context, duration, consumerType, exception));
        }
Esempio n. 2
0
 Task IReceiveObserver.ConsumeFault <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType, Exception exception)
 {
     return(_receiveObserver.ConsumeFault(context, duration, consumerType, exception));
 }