O'Reilly logo

COM+ Programming: A Practical Guide Using Visual C++ and ATL by Pradeep Tapadiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Message Queuing

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required