Example #1
0
 public void Handle(OrderCooked message)
 {
     _bus.Publish(new PriceOrder(message.Order)
     {
         CorrelationId = message.CorrelationId,
         CausationId   = message.MessageId
     });
 }
Example #2
0
 public void Handle(OrderCooked message)
 {
     midgets[message.CorrelationId].Handle(message);
 }
Example #3
0
 public void Handle(OrderCooked message)
 {
     _bus.Publish(new OrderComplete(message.Order, message.MessageId, message.CorrelationId));
 }
 public void Handle(OrderCooked message)
 {
     _cooked = true;
     _publisher.Publish(new OrderFinalized(message, message.Order));
 }
Example #5
0
 public void Handle(OrderCooked message)
 {
     _cooked = true;
     _publisher.Publish(new PriceOrder(message, message.Order));
 }
 public void Handle(OrderCooked message)
 {
     bus.Publish(new PriceOrder(message.Order, message.MessageId, message.CorrelationId));
 }