Professional Documents
Culture Documents
Introduction To Websphere MQ
Introduction To Websphere MQ
Introduction To Websphere MQ
• Alias Queue - another name for a local or remote queue. Typically used to switch
queue destinations without modifying program code.
• Model Queue - a template whose properties are copied when creating a new dynamic
local queue (“ create queue xxx “like” queue yyy).
• Message is not removed from xmit queue until partner MCA confirms
placement on target queue
Messages
Messages consist of:
• Header (MQMD)
Used by Queue Manager and application to handling properties of the message
• User Data
The application-to-application data (“payload”)
transparent to MQSeries
• crtmqm -q host1/qm1
creates a queue manager name qm1 on host1
• Strmqm
Starts queue manager
• Dspmq
Lists all the queue managers
• rummqsc
Starts queue manager scripting interface
Queue Operations
Define/Modify Queue
• DEFINE QLOCAL('queue1') DESCR(Test Queue)
Creates a local queue named queue1
• DEFINE QLOCAL('queue1') REPLACE DESCR(Modifieddescription)
Modifies the queue1 description
Displaying Queues
DISPLAY QLOCAL(*)
DISPLAY QLOCAL('queue1')
DISPLAY QLOCAL('queue1') ALL
DISPLAY QLOCAL('queue1') DEFPSIST DESCR CURDEPTH