Here is Chapters 4 & 5 of the book I never got around to publishing. The chapters cover MSMQ in a fair amount of depth, but remember whole books have been written on this subject. So don’t expect it to be some type of bible. Having said that, if you don’t need to be a guru then these Chapters will give you more than enough knowledge to start working with MSMQ and also explain why it’s a good fit for a particular situation. I’ve included the table of contents so you’ll have an idea of what’s being covered. If you have any feedback feel free to leave a comment!
Chapter 4 Contents
Message Queues 101.
A Simple Analogy.
Types of Queues.
Why use Message Queues?.
What are my Options?.
Choosing the correct option.
Acknowledgements, Time Outs, Journaling and Dead-letters.
Queue to connect
Example 1a – Sending a Text Message (Hand coding)
Example 1b – Sending a Text Message (IDE)
Example 2 – Sending an Object
Example 3 – Recoverable Messages.
Example 4 – Message Monitor
Chapter 5 Contents
Example 5 – Sending a Transactional Message.
Using COM+ for DTC Support
Using COM+ to update a Database.
Example 5c – Creating a DTC enabled Message receiver
Acknowledgements, Time outs and Journaling.
Example 6a – Setting Acknowledgements.
Example 6b – Receiving Acknowledgements.
Example 6c – Receiving Messages.
Example 7 – Timeouts.
Journaling & Dead-letters.
Example 8a – Keeping copies of received messages.
Example 8b – Keeping copies of sent messages.
Example 8c Receiving messages from Public Queues.
Example 8d – Resending a Timed out message.
CHAPTER 4 - Message Queues.pdf (627.48 kb)
CHAPTER 5 - Message Queues II.pdf (503.01 kb)
MSMQ Samples.zip (170.97 kb)
Book Table of Contents