Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

IBM MQ Overview (IBM Message Queue)

386 views

Published on

IBM MQ Overview (IBM Message Queue)

Published in: Software
  • Be the first to comment

IBM MQ Overview (IBM Message Queue)

  1. 1. IBM Message Queue (IBM MQ) Juarez Barbosa Junior Senior Software Architect jbarbosa@ie.ibm.com
  2. 2. © 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)
  3. 3. © 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
  4. 4. © IBM 2016 4 MOM – Message Oriented Middleware
  5. 5. © 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
  6. 6. © 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
  7. 7. © 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
  8. 8. © 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
  9. 9. © IBM 2016 9 MOM x Email - Analogy MOM 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)
  10. 10. © IBM 2016 10 IBM MQ – Introduction • IBM Message Queue − MQM / MQSeries (1992), WebSphere MQ (2002), IBM MQ (2014) − IBM Message Oriented Middleware − Clients: COBOL, C, C++, MQ Java, JMS, .NET, IBM MQI, others − Platforms / OS: LUW, zOS, System i, System p, HP-UX, Solaris, others − Protocols: TCP, UDP, HTTP(S), SMTP, FTP, Proprietary protocols − Architecture − MQ Objects: Queue Manager, Messages, Queues, Process Definitions, Channels, Listeners, others
  11. 11. © 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.
  12. 12. © IBM 2016 12 MOM – Message Oriented Middleware • IBM Message Queue Objects – Queue Types − Application: Local, Remote, Alias, Model, Dynamic − MQ internal: Dead-letter, Initiation, Transmission, Cluster, Comand, Event, Reply-to
  13. 13. © 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.
  14. 14. © IBM 2016 14 IBM MQ – Demo − WMQ CLI (Command Line Interface) − WMQ Explorer (GUI) − Basic MQ Commands (MQSC, Control) − Create QMGR, Create Queue, Send Message, Retrieve Message

×