The document discusses WebSphere MQ and key concepts in messaging and queuing. It explains that WebSphere MQ allows for asynchronous communication between applications by routing messages through queues. Programs can send and receive messages independently without having to call each other directly. WebSphere MQ provides features like assured message delivery, queue management, and interfaces for mainframe platforms like CICS, IMS, and batch processing.
2. CHAPTER OBJECTIVES
Be able to:
Explain why messaging and
queuing is used
Describe the asynchronous flow
of messages
Explain the function of a queue
manager
List three zSeries-related
adapters
http://www.bigclasses.com/ibm-mq-online-training.html
10. Set by application and
queue manager
Headers
MQMD
MQXQH
MQDLH
and so forth
Any sequence of bytes
Private to the sending and
receiving applications
Not meaningful to the
queue manager
Message = Headers + Application data
ApplicationHeaders
MESSAGE LAYOUT
http://www.bigclasses.com/ibm-mq-online-training.html
11. Program A Program B Program C
System 1 System 2
MQPUT Q2 MQPUT Q1 MQGET Q1 MQGET Q2
Queue
manager
Queue
manager
MQI
QX Q1 Q2
DLQ
Network - MCA
QUEUE TYPES
http://www.bigclasses.com/ibm-mq-online-training.html
12. MQI
Program 1
putget
QMA
Local Q2
Channel
QMB.QMA
Receiver
Remote Q1
XmitQ
QMB
Channel
QMA.QMB
Sender
MQI
Program 2
putget
QMB
Local Q1
Channel
QMB.QMB
Receiver
Remote Q2
XmitQ
QMA
Channel
QMB.QMA
Sender
Network
CHANNELS
http://www.bigclasses.com/ibm-mq-online-training.html
13. Local Queue Manager
Remote Queue Manager
MCAMCA
MCAMCA
MQMD
Application
Data
USERID
Context
Database
SECURITY
http://www.bigclasses.com/ibm-mq-online-training.html
15. MQPUT CAR RENTAL
MQPUT FLIGHT
MQPUT HOTEL
MQGET Reply-to-queue
Car rental
Flight
Hotel
Car
Flight
Hotel
MQPUT
MQPUT
MQPUT
Reply-to
queue
TRAVEL AGENCY EXAMPLE REVISITED
http://www.bigclasses.com/ibm-mq-online-training.html
16. INTERFACING TO WEBSPHERE MQ
MQ is available on many platforms
On z/OS it has interfacing to:
– CICS
– IMS
– Batch or TSO
http://www.bigclasses.com/ibm-mq-online-training.html
17. MQ FUNCTIONS
Common application programming interface (MQI)
Assured delivery: messages do not get lost and
they arrive only once
No synchronous access needed
Message driven application
Quicker development due to shielding of the
network
http://www.bigclasses.com/ibm-mq-online-training.html
18. Messaging and queuing enables communication between
applications on different platforms.
WebSphere MQ is an example of software that manages
messaging and queuing in the mainframe and other
environments.
With messaging, programs communicate by through messages,
rather than by calling each other directly.
With queuing, messages are retained on queues in storage, so
that programs can run independently of each other
(asynchronously).
SUMMARY
http://www.bigclasses.com/ibm-mq-online-training.html