|
Post by Parthasaradhy Padyala on Feb 18, 2011 11:51:56 GMT -5
Please elaborate on procedure for creating MQ queues and channels.
|
|
|
Post by Parthasaradhy Padyala on Feb 23, 2011 8:39:48 GMT -5
Message Queues • Message Queues belong to Queue Manager. • Types of Messages Queues are: o Local Queue – is a real queue! o Cluster Queue – is a local queue that is known throughout a cluster of queue managers. o Remote Queue – structure describing a queue hosted by a different queue manager. o Transmission Queue – a local queue used for messages to be sent to a remote queue. o Initiation Queue – local queue with a special purpose o Dynamic Queue – local queue created on the fly o Alias Queue - - if you do not like the queue name o Dead-Letter Queue – one for each queue manager o Reply-to Queue – specified in request message o Model Queue – model for local queues o Repository Queue – hold cluster information • Create a queue manager using the command: crtmqm. Example: o Crtmqm /q /u system.dead.letter.queue MYQMGR • To start a queue manager issue command: strmqm
Manipulating Queue manager Objects • Use the utility RUNMQSC to manipulate queue manager objects. Ensure queue manager is started prior using the runmqsc utility. Example: C:\strmqm runmqsc define qlocal(‘QUEUE1’) replace descry (‘test queue’) alter qmgr deadq(system.dead.letter.queue) end
MQCONN Connect to a Queue Manager MQDISC Disconnect from a Queue Manager MQOPEN Open a specific queue MQCLOSE Close a queue MQPUT Put message on a queue MQPUT1 Get message from a queue MQGET MQOPEN + MQPUT + MQCLOSE MQINQ Inquire properties of an object
|
|