The Internal OrderFill Client

The internal client provides the features needed to process orders after they’ve been submitted. It also has the ability to dynamically receive a message and update the interface accordingly, thanks to some careful threading code. Figure 17-9 shows the interface that appears when the internal client is started.

The OrderFill client at startup

Figure 17-9. The OrderFill client at startup

The first step is to register the current queue and retrieve the IDs for all the available orders. The database connection and queue path are drawn from the configuration file shown here:

<?xml version="1.0" encoding="utf-8" ?> <configuration>   <appSettings>     <add key="TransactConnection" ...

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.