public void Process(IncomingTrade incomingTrade)
        {
            Send(new ValidateTradeMessage
            {
                TradeId = incomingTrade.Id
            });

            Send(new EnrichParty1Message
            {
                TradeId = incomingTrade.Id,
                Party1Lei = incomingTrade.Party1Lei
            });

            Send(new EnrichParty2Message
            {
                TradeId = incomingTrade.Id,
                Party2Lei = incomingTrade.Party2Lei
            });

            Console.WriteLine("* Sent messages to processed trade with ID: {0}", incomingTrade.Id);
        }
 public override void Process(IncomingTrade incomingTrade)
 {
     _processBlock.Post(incomingTrade);
 }
 public override void Process(IncomingTrade incomingTrade)
 {
     Task.Factory.StartNew(() => ProcessInternal(incomingTrade));
 }