Audience
This class is for MQ Programmers who wish to write complex messaging applications or use any of MQ's more advanced programming features, such as channel exits.
This class is also necessary for those who will act as in-house consultants to junior staff.
Prerequisites
Delegates should have a sound working knowledge of MQ design and the MQ program calls, as taught in the MQ Application Development class, plus ideally six months' practical experience.
Duration
3 days. Hands on.
This course is available on site only. Please call for details.
Course Objectives
Upon completion of this course students should be able to:
- Design and code complex transactions using any of the three kinds of MQ triggers, specifically the queue depth type of trigger in conjunction with MQSET.
- Write and implement a trigger monitor program.
- Code MQ exits, particularly the channel message and data conversion exits.
- Write and implement handlers for dead-letter queues and performance events.
- Use MQ distribution lists for: fuzzy broadcast queries; precisely-controlled multi-destination transactions.
- Implement Web access to servers using alternate userid's.
- Implement multiple instances of server applications in a cluster of MQ queue managers Participants demonstrate achievement of these goals by solving several programming labs, work that is designed to stretch them.
- Message Properties.
Course Content
Writing Triggered Server Applications
Trigger on First.
Trigger on Every.
Trigger on Depth.
MQSET with triggering.
Writing and Implementing a Trigger Monitor
Setting up the process and initiation queue.
Receiving and parsing the trigger message.
Starting the application and passing parameters.
Coding MQ Exits
User-written formats and the data conversion exit.
Channel message exit.
Using Distribution Lists
Designing applications to use distribution lists.
List creation and usage.
Analysing returns.
Special Handler Programs
Parsing the Dead-Letter Header.
Running a dead-letter handler.
Handling queue threshold conditions.
Clustered MQ applications.
Setting up a queue manager cluster.
Advertising cluster queues.
Programming considerations.
Message Properties
Commands:
• MQCRTMH.
• MQSETMP.
• MQINQMP.
• MQDLTMP.
Testing Properties.
Viewing Properties.
NOTE: IBM MQ was previously known as WebSphereMQ and is still sometimes referred to by this name.