Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
        public Task Handle(Message2 message, IMessageHandlerContext context)
        {
            Data.Message2Arrived = true;
            var almostDoneMessage = new AlmostDoneMessage
            {
                SomeId = Data.SomeId
            };

            return(ReplyToOriginator(context, almostDoneMessage));
        }