web sphere mq online training at bigclasses

18
WEB SPHERE MQ http://www.bigclasses.com/ibm-mq-online- training.html

Upload: bigclassescom

Post on 20-Jan-2015

1.679 views

Category:

Education


3 download

DESCRIPTION

WebSphere MQ includes a alternative of APIs and supports the Java™ Message Service (JMS) API. WebSphere MQ is that the market-leading messaging integration middleware product. Originally introduced in 1993 (under the IBM MQSeries® name), WebSphere MQ provides associate degree an, reliable, scalable, secure, and superior transport mechanism to handle businesses property necessities.

TRANSCRIPT

Page 1: Web sphere mq Online Training at bigclasses

WEB SPHERE MQhttp://www.bigclasses.com/ibm-mq-online-training.html

Page 2: Web sphere mq Online Training at bigclasses

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

Page 3: Web sphere mq Online Training at bigclasses

local queuechannelmessage-drivenMQIasynchronous application

dead-letter queueQMremote queuesyncpoint

KEY TERMS IN THIS CHAPTER

http://www.bigclasses.com/ibm-mq-online-training.html

Page 4: Web sphere mq Online Training at bigclasses

BB

AA

MQI

MQI

MQI

MQI

Queue 2

Queue 1

SYNCHRONOUS COMMUNICATION MODEL

http://www.bigclasses.com/ibm-mq-online-training.html

Page 5: Web sphere mq Online Training at bigclasses

BB

CC

AA

Queue 1

Queue 2

MQI

MQI

MQI

MQI

ASYNCHRONOUS COMMUNICATION MODEL

http://www.bigclasses.com/ibm-mq-online-training.html

Page 6: Web sphere mq Online Training at bigclasses

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

Page 7: Web sphere mq Online Training at bigclasses

MESSAGES

Types of messages:

– Datagram

– Request

– Reply

– Report

http://www.bigclasses.com/ibm-mq-online-training.html

Page 8: Web sphere mq Online Training at bigclasses

Messages

Program

Data

Program

Program

Queuemanager

DB2

QUEUE MANAGER

http://www.bigclasses.com/ibm-mq-online-training.html

Page 9: Web sphere mq Online Training at bigclasses

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

Page 10: Web sphere mq Online Training at bigclasses

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

Page 11: Web sphere mq Online Training at bigclasses

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

Page 12: Web sphere mq Online Training at bigclasses

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

Page 13: Web sphere mq Online Training at bigclasses

Local Queue Manager

Remote Queue Manager

MCAMCA

MCAMCA

MQMDApplication

Data

USERID

Context

Database

SECURITY

http://www.bigclasses.com/ibm-mq-online-training.html

Page 14: Web sphere mq Online Training at bigclasses

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

Page 15: Web sphere mq Online Training at bigclasses

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

Page 16: Web sphere mq Online Training at bigclasses

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

Page 17: Web sphere mq Online Training at bigclasses

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

Page 18: Web sphere mq Online Training at bigclasses

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