What is WebSphere MQ?
WebSphere MQ is messaging for applications. It sends messages across networks of diverse components. Your application connects to WebSphere MQ to send or receive a message.
WebSphere MQ handles the different processors, operating systems, subsystems, and communication protocols it encounters in transferring the message.
Messaging: Programs communicate by sending each other data in messages rather than by calling each other directly.
Queuing: Messages are placed on queues, so that programs can run independently of each other, at different speeds and times, in different locations, and without having a direct connection between them.
Queue manager: A queue manager is a system program that provides queuing services to applications. It provides an application programming interface so that programs can put messages on, and get messages from, queues. A queue manager provides additional functions so that administrators can create new queues, alter the properties of existing queues, and control the operation of the queue manager.
WebSphere MQ implements a store-and-forward protocol to ensure the safe delivery of messages.
Check MQ is installed or not ,open Cmd prompt and type "dspmqver."
Friends this is only WMQ administration in open system, here I am dealing with windows as mq commands are same in all open systems (linux,solaris,AIX,hp-ux etc ……).
You can create QueueManager(Qmgr) using command “ crtmqm qmgrname.”
The limitations for WebSphere MQ names are:
i. Only the following characters are allowed: A-Z, a-z, 0-9,. (Period), /, _ (Underscore), %.
ii. A maximum of 48 characters are allowed for the names of:
- Queue managers
- Queues
- Processes
- A maximum of 20 characters are allowed for the names of channels.
The names of WebSphere MQ objects do not imply any structure to the object. All names in WebSphere MQ are case-sensitive.
Syntax: Crtmqm
Eg: Crtmqm QMC10
Crtmqm MAHESH1
We can use A-Z, a-z, 0-9,. (Period), /, _(Underscore), % for qmgr.