예제 #1
0
        public Task Handle(Message2 message, IMessageHandlerContext context)
        {
            Data.Message2Arrived = true;
            var almostDoneMessage = new AlmostDoneMessage
            {
                SomeId = Data.SomeId
            };

            return(RequestTimeout(context, TimeSpan.FromHours(1), almostDoneMessage));
        }
예제 #2
0
        public Task Handle(Message2 message, IMessageHandlerContext context)
        {
            Data.Message2Arrived = true;
            var almostDoneMessage = new AlmostDoneMessage
            {
                SomeId = Data.SomeId
            };

            return(ReplyToOriginator(context, almostDoneMessage));
        }