19
MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI industry support

MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Embed Size (px)

Citation preview

Page 1: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

MQ Series

Cross PlatformDominant Messaging sw – 70% of marketMessaging API same on all platformsGuaranteed one-time deliveryTwo-Phase CommitWide EAI industry support

Page 2: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

What is it? MQSeries is a middleware product from IBM that runs on multiple platforms and enables applications to send messages to other applications. Basically, the sending application PUTs a message on a Queue, and the receiving application GETs the message from the Queue. The sending and receiving applications do not have to be on the same platform, and do not have to be executing at the same time.

MQSeries takes care of all the storage, logging and communications details required to guarantee delivery of the message to the destination queue. In most cases, it will take care of translating the data when the source and destination use different character sets (EBCDIC on MVS vs. ASCII on NT or Unix). All the applications have to do is know the name of the Queue and agree on the meaning of the message.

Page 3: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

MQ Series API (basic)

Connect to a Queue ManagerOpen a queuePut or get messagesClose a queueCommit or roll backDisconnect

Page 4: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Advanced features

Triggering – automatically starting an application to process a messageIMS & CICS Bridges – reusing legacy transactions without modificationConfirmation of message arrival, deliveryGrouping of messagesLoad balancing

Page 5: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

MQ Application environments

IMS transactionIMS BMPIMS batchOS/390 BatchTSOCICS

DB2 Stored ProcedureVB program on WindowsC program on Windows or Unix

Supported languages include VB, C/C++, PL/1 and Cobol

Page 6: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Local Queuing

Page 7: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Distributed Queuing

Page 8: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Distributed Queuing

Page 9: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Server to Server

Client PCs(no MQ sw at all)

Unix or NT ServerHosting:Queue ManagerServer sw (WebSphere, UP, IIS, Apache, Web server…)

OS/390 hosting:Queue ManagerIMSDB2….

Page 10: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Server to Server -

Server application gets it’s data using MQ. Clients do not use MQ API Guaranteed Delivery in effect Server license required

Page 11: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Client to Server

Client PCs(MQ client sw)

Unix or NT ServerHosting:Queue Manager,MQ Client support,other server sw

OS/390 hosting:Queue ManagerIMSDB2

Page 12: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Client to Server

Client applications use MQ API (linked differently) MQ processing actually occurs on server within client support modules Client licenses free Guaranteed delivery not supported over client – server link

Page 13: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

To what problems is MQ the solution?

Fast, asynchronous inter-system notification. Data propagationTransferring data from mainframe systems to PC/Unix systemsTransferring data from PC/Unix systems to mainframe systems

Page 14: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Problem…Solution…

An event in an IMS system requires action by a midrange system.

Modify the IMS program to PUT a message to the midrange system. The midrange system can be configured to start the application whenever a message arrives.

Page 15: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

An event in an midrange system requires action by a mainframe system.

Modify the midrange program to PUT a message to the mainframe system. The mainframe system can process the message :-Immediately-At set intervals-On a schedule

Problem…Solution…

Page 16: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

MQSEND

UP Database

OG_Main_Download

OF_Main_Upload

MQRECV

ECS Database

CADto

ECS

ECS to

CAD

*existing ECS MPPs modified to:1 – add XML formatting to some data2 – MQPUT to UP incoming queue

MQ

MQ

New BMP, cycles every x minutes 1) Reads all messages from queue into buffer 2) Sorts on sequence number3) Processes each in proper order

CAD - MQ Architecture

Page 17: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Problem…Solution…A PC user needs to request an overnight report that needs data from IMS, DB2 and other files.

A VB program puts the report requirements on a queue which is read by a batch job

Page 18: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Problem…Solution…Web server needs data from legacy IMS/CICS transaction.

Web server puts a message to the MQ-IMS/CICS Bridge, which runs the transaction and returns the results on a queue (screen-scraping without the 3270).

Page 19: MQ Series Cross Platform Dominant Messaging sw – 70% of market Messaging API same on all platforms Guaranteed one-time delivery Two-Phase Commit Wide EAI

Problem…Solution…VB app needs data from DB2, SQL Server and IMS

VB client app puts messages on queues on NT and mainframe systems, triggering programs which populatereply queues on an NT system, which the VB app will readto present to the user. The VB client need not wait for the report to be completed.It could spawn a separate thread that would monitor thereply queues and notify the user when the report was complete.