p01 mq wmq introduction

Upload: chirutha84

Post on 09-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 P01 MQ WMQ Introduction

    1/13

    2007 IBM Corporation

    WebSphere MQIntroduction

  • 8/8/2019 P01 MQ WMQ Introduction

    2/13

    IBM Software Group | WebSphere software

    2

    A

    B

    Queue 2

    Queue 1

    Introduction to Messaging and Queueing

  • 8/8/2019 P01 MQ WMQ Introduction

    3/13

    IBM Software Group | WebSphere software

    3

    Not

    available

    Notavailable

    Not

    available

    A

    A

    A

    A

    B

    B

    B

    BNot

    available

    Time Independence

  • 8/8/2019 P01 MQ WMQ Introduction

    4/13

    IBM Software Group | WebSphere software

    4

    A Rather Accurate Analogy

  • 8/8/2019 P01 MQ WMQ Introduction

    5/13

    IBM Software Group | WebSphere software

    5

    Major calls

    MQCONN(X)

    MQDISC

    MQOPENMQCLOSE

    MQPUT

    MQPUT1

    MQGETMinor calls

    MQBEGIN

    MQCMIT

    MQBACKMQINQ

    MQSET

    MQI

    Application

    Queue manager

    Process objectQueue manager

    object

    MQI Calls

  • 8/8/2019 P01 MQ WMQ Introduction

    6/13

    IBM Software Group | WebSphere software

    6

    Application dataMessage

    descriptor

    Expiry

    GroupId

    MsgSeqNumber

    Offset

    Format

    Encoding

    CodedCharSetId

    Persistence

    Priority

    MsgId

    Correl_ Id

    Report

    Feedback

    ReplyToQ

    ReplyToQMgr

    Message Descriptor MQMD

  • 8/8/2019 P01 MQ WMQ Introduction

    7/13

    IBM Software Group | WebSphere software

    7

    Request

    Reply

    Report

    Datagram

    Message Types

  • 8/8/2019 P01 MQ WMQ Introduction

    8/13

    IBM Software Group | WebSphere software

    8

    "Local"

    Queue Manager"

    Real

    Application Q

    MQPUT

    MQGET

    "Remote

    Queue Manager"

    Remote Q

    Definition

    .. describesand points to

    Local Q

    CC/RC

    MQPUT

    MQGET

    Application

    Local and Remote Queues

    CC/RC

    IBM S ft G | W bS h ft

  • 8/8/2019 P01 MQ WMQ Introduction

    9/13

    IBM Software Group | WebSphere software

    9

    Application

    MQPUT

    CC/RC

    Queue Manager Log Data Set(s)

    Queue HoldingData Set(s)

    Application Q

    Transmission Q

    Dead Letter Q

    Assured Message Delivery

    IBM S ft G | W bS h ft

  • 8/8/2019 P01 MQ WMQ Introduction

    10/13

    IBM Software Group | WebSphere software

    10

    A

    B

    Queue 1

    Queue 2

    Synchronous Application Model

    IBM Software Group | WebSphere software

  • 8/8/2019 P01 MQ WMQ Introduction

    11/13

    IBM Software Group | WebSphere software

    11

    MQPUT HotelQ

    MQPUT Car_hireQ

    MQPUT AirlineQ

    MQGET Reply to Q

    Hotel

    Car_hire

    Airline

    MQPUT

    HotelQ

    Car_hireQ

    AirlineQ

    MQPUT

    Reply

    to Q

    MQPUT

    Parallel Processes

    IBM Software Group | WebSphere software

  • 8/8/2019 P01 MQ WMQ Introduction

    12/13

    IBM Software Group | WebSphere software

    12

    Write

    Send

    Syncpoint

    Receive

    Write

    Syncpoint

    DB

    DB2 phasecommit

    Unit of Work

    Write

    Put

    SyncpointGet

    Write

    Syncpoint

    DB

    DBUnit of Work 2

    q QUnit of Work 1

    Unit of Work3

    Synchronous Model

    Asynchronous Model

    Asynchronous Syncpoint

    IBM Software Group | WebSphere software

  • 8/8/2019 P01 MQ WMQ Introduction

    13/13

    IBM Software Group | WebSphere software

    13

    A

    B

    Appl.Q

    Queue Manager

    Trigger

    Mechanism

    External

    Facility

    START

    Triggering (Overview)