web sphere mq online training at bigclasses
Post on 20-Jan-2015
1.681 Views
Preview:
DESCRIPTION
TRANSCRIPT
WEB SPHERE MQhttp://www.bigclasses.com/ibm-mq-online-training.html
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
local queuechannelmessage-drivenMQIasynchronous application
dead-letter queueQMremote queuesyncpoint
KEY TERMS IN THIS CHAPTER
http://www.bigclasses.com/ibm-mq-online-training.html
BB
AA
MQI
MQI
MQI
MQI
Queue 2
Queue 1
SYNCHRONOUS COMMUNICATION MODEL
http://www.bigclasses.com/ibm-mq-online-training.html
BB
CC
AA
Queue 1
Queue 2
MQI
MQI
MQI
MQI
ASYNCHRONOUS COMMUNICATION MODEL
http://www.bigclasses.com/ibm-mq-online-training.html
ProgramA
ProgramB
ProgramC
ProgramA
Conversational
Messaging
Call and return
ProgramA
ProgramB
ProgramA
ProgramA
STYLES OF COMMUNICATION
http://www.bigclasses.com/ibm-mq-online-training.html
MESSAGES
Types of messages:
– Datagram
– Request
– Reply
– Report
http://www.bigclasses.com/ibm-mq-online-training.html
Messages
Program
Data
Program
Program
Queuemanager
DB2
QUEUE MANAGER
http://www.bigclasses.com/ibm-mq-online-training.html
Application
Queue manager
MQI
Queue manager
object
Namelist object
Process object
Major callsMQCONNMQCONNXMQOPENMQCLOSEMQPUTMQPUT1MQGET
Minor callsMQBEGINMQCMITMQBACKMQINQMQSET
MESSAGE QUEUE INTERFACE (MQI)
http://www.bigclasses.com/ibm-mq-online-training.html
Set by application and queue managerHeaders
MQMDMQXQHMQDLHand so forth
Any sequence of bytesPrivate to the sending and receiving applicationsNot meaningful to the queue manager
Message = Headers + Application data
ApplicationHeaders
MESSAGE LAYOUT
http://www.bigclasses.com/ibm-mq-online-training.html
Program A Program B Program C
System 1 System 2
MQPUT Q2 MQPUT Q1 MQGET Q1 MQGET Q2
Queuemanager
Queuemanager
MQI
QX Q1 Q2DLQ
Network - MCA
QUEUE TYPES
http://www.bigclasses.com/ibm-mq-online-training.html
MQI
Program 1
putget
QMA
Local Q2
ChannelQMB.QMAReceiver
Remote Q1
XmitQQMB
ChannelQMA.QMBSender
MQI
Program 2
putget
QMB
Local Q1
ChannelQMB.QMBReceiver
Remote Q2
XmitQQMA
ChannelQMB.QMASender
Network
CHANNELS
http://www.bigclasses.com/ibm-mq-online-training.html
Local Queue Manager
Remote Queue Manager
MCAMCA
MCAMCA
MQMDApplication
Data
USERID
Context
Database
SECURITY
http://www.bigclasses.com/ibm-mq-online-training.html
DBDBWriteSend
Syncpoint
ReceiveWrite DBDB
Syncpoint2-phasa
commit
Synchronousmodel
Unit of work
DBDB Write
PutSyncpointUnit of work 1
Unit of work 2
Unit of work 3
qq Get
WriteSyncpoint
DBDB
Asynchronousmodel
DATA INTEGRITY
http://www.bigclasses.com/ibm-mq-online-training.html
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
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
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
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
top related