3.1. Overview

The Message Queue Interface or MQI is a programming interface that gives the programmer access to all the facilities of the MQSeries messaging platform and gives full and detailed control over the messages and the way they flow.

The MQI calls allow you to:

  • Connect programs to, and disconnect programs from, a queue manager

  • Open and close objects (such as queues, queue managers, namelists, and processes)

  • Put messages on queues

  • Retrieve messages from a queue, or browse them (leaving them on the queue)

  • Inquire about the attributes of MQSeries objects, and set some of the attributes of the queues

  • Commit and back out changes made within a unit of work, in environments where there is no natural syncpoint support, for example, OS/2 and UNIX ...

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.