So far, we have looked at how the COM/COM+ architecture helps us to build distributed and non-distributed applications. Under COM, remote method calls are based on RPC, which is a synchronous, connection-oriented communication mechanism. Any method call that is made gets blocked until a result is returned.
While a synchronous mode of operation fits the bill for many applications (and is certainly simple to use), there are cases where communicating asynchronously is more appropriate.
Microsoft Message Queue Server (MSMQ) provides an infrastructure for developing distributed components that can communicate with each other asynchronously via messages.
In this chapter, we examine the MSMQ architecture and see how highly scalable ...