Ejemplo n.º 1
0
 public Task Handle(SendReplyFromNonInitiatingHandler message, IMessageHandlerContext context)
 {
     //reply to originator must be used here since the sender of the incoming message is this saga and not the requesting saga
     return(ReplyToOriginator(context, new ResponseFromOtherSaga
     {
         SomeCorrelationId = Data.CorrIdForRequest
     }));
 }
 public void Handle(SendReplyFromNonInitiatingHandler message)
 {
     //reply to originator must be used here since the sender of the incoming message the timeoutmanager and not the requesting saga
     ReplyToOriginator(new ResponseFromOtherSagaFromNonInitiatingHandler //change this line to Bus.Reply(new ResponseFromOtherSaga  and see it fail
     {
         SomeCorrelationId = Data.CorrIdForRequest                       //wont be needed in the future
     });
 }
Ejemplo n.º 3
0
 public void Handle(SendReplyFromNonInitiatingHandler message)
 {
     SendReply();
 }
 public Task Handle(SendReplyFromNonInitiatingHandler message, IMessageHandlerContext context)
 {
     return(SendReply(context));
 }