Inheritance: IInboundChannel
Example #1
0
        protected override Task <AggregateConsumingResult> ConsumeInternalAsync(BasicDeliverEventArgs args)
        {
            InboundChannel.Acknowledge(args.DeliveryTag);

            return(ConsumeAsync(args).ContinueWith(_ =>
            {
                var result = _.Result;
                result.NotifyConsumingCompletion();
                return result;
            }));
        }