Chapter 5. Programming with C++

This chapter covers the MQSeries C++ API. This API is an object-oriented extension of the MQI API explained in Chapter 3, “Programming with MQI” on page 23. Here, we discuss the basic concepts of this API, the architectural model, and the API availability.

Then we introduce some of the basic operations that can be performed using this API, such as:

  • Connecting and disconnecting from a queue manager

  • Opening and closing MQSeries object (Queue object for example)

  • Sending and getting messages from a queue

  • Transaction management

  • Message grouping

Finally we explore the implementation of the programming patterns explained in Chapter 1, “Introduction and patterns” on page 3 using this API.

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.