In this chapter
Microsoft Windows Message Queuing makes it easy for applications to communicate with other applications quickly and reliably by sending and receiving messages. Messaging provides you with guaranteed message delivery and a robust, fail-safe way to carry out many of your business processes. For example, suppose you have a retail point-of-sale application that must run 24 hours a day, seven days a week. If the database system behind the application goes down, your sales staff might need to start taking orders manually. Using Message Queuing, you can set up the system so that the orders that cannot be processed during the downtime are automatically put into a queue and processed as soon as the database comes back up. In Microsoft Visual Studio .NET and the Microsoft .NET Framework Software Development Kit (SDK), you can use an instance of the MessageQueue component to quickly and easily connect to existing message queues, examine their contents, and send and receive messages. Before Visual Studio .NET, using the messaging infrastructure was a good bit more work because you had to instantiate and manage the underlying COM objects. |