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>"; } }
public void Handle(InitiateRequestReply message) { bus.Send(new Request()); }