2. • Websphere MQ is IBM’s award winning middleware for commercial
messaging and queuing.
• MQ runs on a variety of platforms. It allows independent and potentially
non-concurrent applications on a distributed system to communicate with
each other.
• MQ programs use a consistent application program interface (API) across
all platforms.
• Current MQ Version is WebSphere MQ 7.0 released on May 2008
IBM Message Queue (MQ)
Trivia:- It was previously known as MQSeries, IBM rebranded in 2002 to join the
suite of Websphere products. WebSphere MQ, which is now referred simply as "MQ" by
users.
4. What is Messaging and
Queuing?........cont
GUI Flow
Program-to-Program Communication
(Between Two System)
5. Message Queues
Queues are defined as objects belonging to a queue manager.
MQ has number of different queue types, each with a specific purpose. The
queues you use are located either in your machine and belong to the queue
manager to which you are connected, or in your server (if you are a client).
Types of Queues
6. To start Queue Manager:
$> strmqm <QUEUE_MANAGER_NAME>
To start MQ Listener:
$> runmqlsr -t tcp –p<port> –m <QUEUE_MANAGER_NAME>
To stop/end Queue Manager:
$> endmqm -i <QUEUE_MANAGER_NAME>
To stop/end Queue Manager Listener:
$> endmqlsr –m <QUEUE_MANAGER_NAME>
To run Queue Manager Console:
$> runmqsc <QUEUE_MANAGER_NAME>
MQ Commands
7. To reset channel:
RESET CHANNEL (<CHANNEL_NAME>)
To Ping:
PING CHANNEL (<CHANNEL_NAME>)
To Resolve:
RESOLVE CHANNEL (<CHANNEL_NAME>) ACTION (BACKOUT)
To Start Channel:
START CHANNEL (<CHANNEL_NAME>)
To Stop Channel:
STOP CHANNEL (<CHANNEL_NAME>)
MQ Commands……cont
8. To Display Channel Details:
DISPLAY CHANNEL (<CHANNEL_NAME>)
*To Display Channel Status Details:
DISPLAY CHSTATUS (<CHANNEL_NAME>)
To End Console:
END
MQ Commands……cont