+ All Categories
Transcript
Page 1: IBM MQ Overview (IBM Message Queue)

IBM Message Queue (IBM MQ)

Juarez Barbosa JuniorSenior Software [email protected]

Page 2: IBM MQ Overview (IBM Message Queue)

© IBM 2016 2

MOM – Introduction

• MOM – Message-oriented middleware− IBM MQ, IBM MessageSight (MQTT), Tuxedo, TIBCO, HiveMQ (MQTT),

RabbitMQ (MQTT/AMQP), ActiveMQ (AMQP), Microsoft MSMQ - Brokers− Asynchronous communication – Message Sender does not need to wait for

response from Message Receiver (fire-and-forget / non-blocking)− Loose coupling – message producer does not need to know the details of

message consumer, they do not need to be active at the same time− Point-to-point (queue), Publish-subscribe (topic)

Page 3: IBM MQ Overview (IBM Message Queue)

© IBM 2016 3

MOM – Introduction

• MOM – Message-oriented middleware− Transactions – atomicity, consistency, isolation, durability, scalability, security,

acknowledgment, routing, transformation, filtering, priority, data enrichment, data aggregation (async request, delayed response), persistence (QoS)

− Message – Binary or Character data− Queue – Managed object that implements the point-to-point messaging model

and can receive and store messages in a MOM− Topic – Managed object that implements the publish-subscribe messaging

model and receive and store messages in a MOM

Page 4: IBM MQ Overview (IBM Message Queue)

© IBM 2016 4

MOM – Message Oriented Middleware

Page 5: IBM MQ Overview (IBM Message Queue)

© IBM 2016 5

MOM – Message Oriented Middleware

• Point-to-Point (Queue)− One to one (1…1), many to one (*…1)− One queue per receiver, one message received by one receiver

Page 6: IBM MQ Overview (IBM Message Queue)

© IBM 2016 6

MOM – Message Oriented Middleware

• Publish-Subscribe (Topic)− One to Many (1…*), Many to Many (*…*)− Topic, same message may be received by many receivers

Page 7: IBM MQ Overview (IBM Message Queue)

© IBM 2016 7

MOM – Message Oriented Middleware

• Point-to-Point (FIFO Queue)− All messages have the same priority− Messages are delivered in the order they enter the queue - FIFO

Page 8: IBM MQ Overview (IBM Message Queue)

© IBM 2016 8

MOM – Message Oriented Middleware

• Point-to-Point (Priority Messages / Queue)− Queue buffers the messages and orders them according to their priority when

they enter the queue (priority applied at point T in time)− Messages are delivered in the order they enter the queue - FIFO

Page 9: IBM MQ Overview (IBM Message Queue)

© IBM 2016 9

MOM x Email - AnalogyMOM Email

MOM Message SMTP Message

Queue (point to point) Mailbox

Consumer POP3 / IMAP Mail Client

Producer SMTP Client

Queue Manager Mail Transfer Agent

Routing Info To: Cc: Bcc: addresses

Topic (Publish subscribe) Mailing list

Message ACK Read Receipt

TTL Expires Header

Communication for Systems Communication for People (users)

Page 11: IBM MQ Overview (IBM Message Queue)

© IBM 2016 11

IBM MQ – MQ Objects• IBM Message Queue Objects – Queue Manager (QMGR)

− Queue Manager - Manager, orchestrator for a given message queue scheme. The QM coordinates the MQ objects, sends messages to other queue managers over a message channel. The queue manager may be co-located with an application or located in a separate server host.

Page 13: IBM MQ Overview (IBM Message Queue)

© IBM 2016 13

IBM MQ – MQ Objects

• IBM Message Queue Objects− Process Definition - Defines a feature that can start an application in response

to a trigger event. Attributes include application type, application ID (path) and data (MIME type) to the application

− Channels - Logical communication link provides communication path from one MQM to another or from external client to MQM. It shields applications from underlying protocols.

− Listeners – They listen and accept remote connections and start inbound channels.


Top Related