An updated version of this course is available. For more information, click IBM MQ V8 Application Development (Linux Labs) (WM508G).
In this course, you learn how to issue calls that use the WebSphere MQ API (MQI). You learn how to code and use calls to complete various functions, such as opening and closing queues and putting messages on or retrieving messages from a queue. You also learn other important topics such as controlling message retrieval, writing programs that change queue attributes, handling MQI security, and managing message channels.
This course includes a brief review of WebSphere MQ and a descriptive introduction to the MQI. It introduces the WebSphere MQ calls that control connections and put messages on a queue. It also describes how to generate correctly formatted request and reply messages. You learn how to place a single message on a queue with an implied open and close for efficiency, use the message ID and correlation ID, browse messages on a queue, and wait for message arrival.
The course also includes a unit on using syncpoint control calls (MQBEGIN, MQCMIT, and MQBACK) that allow WebSphere MQ clients to participate in units of work, MQI security, and asynchronous message consumptions.
The lab environment for this course uses the Linux platform. Programs that are created in the lab exercises are written in C.
For information about other related courses, visit the IBM Training website:
Learning Journeys or Training Paths that reference this course:
This course is designed for experienced business application programmers who must develop applications that use the messaging and queuing techniques that the WebSphere MQ API (MQI) supports.
- Successfully complete Technical Introduction to WebSphere MQ (WM102G)
- Have a basic understanding of the messaging and queuing model and how the model is implemented in WebSphere MQ
- Have experience with designing business application programs and developing application programs in C
- Course introduction
- Exercise: Working with WebSphere MQ objects
- Using the MQCONN, MQOPEN, MQCLOSE, and MQDISC calls
- Using MQPUT
- Exercise: Using MQPUT to create messages
- Opening queues, message descriptor, and message properties
- Using the MQGET and MQPUT1 calls
- Exercise: Working with messages
- Controlling message retrieval
- Exercise: Creating dynamic queues and managing Request messages
- Exercise: Getting and setting message properties
- MQI security
- Using MQINQ and MQSET
- Exercise: Working with queue attributes: MQINQ and MQSET
- Transaction support and triggering
- Exercise: Units of work: RESPOND and triggering MQTMCGET
- Message groups and segmentation
- Asynchronous message consumption
- Exercise: Asynchronous consumption of WebSphere MQ messages
- Course summary
- Describe and use the MQI
- Design and write programs that use the MQI
- Identify the differences in using the MQI across the various WebSphere MQ platforms
- Design and write programs that use the security and message groups and segmentation features of the MQI