Stock Brokerage

The following stock transaction scenario uses these MSMQ features:

Figure 1.14

In the example shown in Figure 1.14, customers communicate by telephone with traders who make trade requests on behalf of the customers. The trade server performs the following tasks in the following order:

  1. Verifies the transaction can be completed by querying the account server
  2. Verifies the transaction with the risk-management server
  3. Places the trade request with the stock exchange server

The stock exchange server makes the stock transaction and then asynchronously updates the customer account and risk-management server.

You can use the MSMQ RPC transport to access the databases, Visual Basic and the ActiveX controls provided by MSMQ to write client applications, and C to write the core brokerage application.


⌐ 1997 by Microsoft Corporation. All rights reserved.