5.9. Exploring the patterns

All the patterns explained in Chapter 1, “Introduction and patterns” on page 3 can be developed using this API. In the following section we will show simple examples of each one of these pattern. These examples were developed based upon the MQI C examples in Chapter 3, “Programming with MQI” on page 23, so the user can compare the examples and appreciate how the MQI API maps to the C++ API.

All these examples were developed using the Microsoft Visual Studio environment.

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

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.