3.8. Exploring the patterns
In this section, we explore the patterns presented in Chapter 2, “Messaging and the APIs” on page 11 using the C ANSI implementation of the MQI API in a Microsoft Windows environment. All of these samples can be modified to work with any other platform and language available.
The complete code for these examples can be found in the additional materials that may be downloaded from the IBM Redbooks Web site.
3.8.1. The one-to-one, or point-to-point pattern
As explained in Chapter 1, “Introduction and patterns” on page 3, the one-to-one or point-to-point programming pattern can be used for a send-and-forget scenario as well as a request/reply scenario or any combination of those.
Here, we present a simple example of ...
Get MQSeries Programming Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.