예제 #1
0
        public void Handle(InitiateRequestReply message)
        {
            Data.CorrelationId = "<this is a correlation ID!>";

            bus.Send(new RequestWithCorrelationId {
                Correlationid = Data.CorrelationId
            });

            if (abandonReply)
            {
                Data.CorrelationId = "<this is another correlation ID, which is how we may abandon outstanding replies>";
            }
        }
예제 #2
0
 public void Handle(InitiateRequestReply message)
 {
     bus.Send(new Request());
 }