Pro MSMQ: Microsoft Message Queue Programming
Arohi Redkar, Ken Rabold, Richard Costall, Scot Boyd, Carlos Walzer
- 出版商: Apress
- 出版日期: 2004-07-06
- 售價: $1,729
- 貴賓價: 9.5 折 $1,643
- 語言: 英文
- 頁數: 448
- 裝訂: Paperback
- ISBN: 1590593464
- ISBN-13: 9781590593462
Foreword by Yoel Arnon, MSMQ Software Development Engineer, Microsoft Corporation
No application is an island…In today’s connected world, each and every professional developer must assume that his or her applications will need to communicate with other applications.
Distributed applications, however, present a large set of unique challenges, like, What do I do when the network is disconnected? How do I coordinate the actions of two separate applications? How do I handle peak times? How do I guarantee delivery? How do I upgrade my application without breaking the communication?
We at the Microsoft Message Queue (MSMQ) team have worked hard to provide an elegant solution to these questions and many others. This book will help you leverage this work by using MSMQ in your distributed applications so that you will be able to concentrate on the business logic rather than network problems.
What is MSMQ? MSMQ is message-oriented middleware (MOM) that comes as a standard component of Windows and allows applications to exchange messages among them using queues—outgoing queues for messages waiting to be sent, and incoming queues for messages waiting to be received. Queues—like dams—guarantee nice and controlled flow of information, even when the network is congested or suffers frequent disconnects.
Moreover, queues are a very natural programming metaphor. Most people would agree that working from a queue of to-do tasks is more effective than responding to requests on the spot. The same is true for computer programs. Programs that process queues of incoming messages tend to be simpler and more efficient than programs acting on interrupts.
The availability of powerful, yet simple, MOMs like MSMQ on millions of desktops and servers have changed the way programmers design and write distributed applications. The simple concepts of queue and message—along with powerful features like quality of service, transactions, and security—have enabled a new breed of distributed applications in a wide range of industries. In addition, MSMQ provides an excellent solution for integrating existing applications—for the Internet or for enterprise-wide systems like ERP.
Even after nine years on the MSMQ team, I am amazed to see the number of ways customers use this technology: in airlines and communication, financial services, e-retailers, traditional department stores, and even online games.
In addition to covering the essentials of MSMQ, this book is the first book covering the cool new features introduced in MSMQ 3.0 (which was released as part of Windows XP and Windows Server 2003) — features such as multicast, triggers, HTTP messages, and more. In addition, it is the first book covering the novel .NET MSMQ APIs: System.Messaging.
Today, MSMQ knowledge became a standard requirement for a professional Windows developer, alongside such skills as Visual Basic, Visual C/C#, SQL/IIS/ADO/COM+, and others. Reading this book is a great way to get started.
If you consider yourself a professional Windows developer, and you know that no application is an island any longer, then this book is for you.
I am proud to be a part of the revolution MSMQ brought to the Windows application development world. I hope that you will enjoy using MSMQ as much as I—together with the other MSMQ team members—enjoyed developing it.
Yoel Arnon Software Development Engineer Microsoft Corporation
About the Book
This book explores MSMQ so that you can initiate robust, asynchronous communication between applications. MSMQ provides three APIs to incorporate message queuing into different applications. These APIs include "C" from unmanaged C/C++ code; a COM component from VB or C++ code; and the System.Messaging namespace, which integrates MSMQ with managed C# or VB .NET applications.
This is the only book on the market to cover all three APIs. Plus, this book discusses the newest features of MSMQ 3.0 (released with Windows Server 2003), and explains sending and receiving MSMQ messages on a PocketPC device.
Table of Contents:
Chapter 1: Introducing Message Queuing
Chapter 2: System.Messaging
Chapter 3: Administration
Chapter 4: Transactional Messaging
Chapter 5: MSMQ Triggers
Chapter 6: MSMQ COM and Win32 API
Chapter 7: MSMQ 3.0
Chapter 8: MSMQ on Pocket PC