Sunday, September 09, 2007

Setting Up Websphere MQ Server

1) Create a queue manager

crtmqm -q queue.manager.1

-q is make the queue manager become default queue manager

2) Start queue manager

strmqm

3) Start MQSC

runmqsc

- doesn't provide a prompt, but will show Starting MQSC for queue manager queue.manager.1.

4) Create a local queue called queue 1

define qlocal(QUEUE1)

5) At MQSC Windows

a) define a server connection channel
define channel(channel1) chltype(svrconn) trptype(tcp) mcauser(' ')

b) By default will listening to port 1414, to change:
alter listener(system.default.listener.tcp) trptype(tcp) port(2001)

c) to check busy port
netstat -an

d) Start default Websphere MQ Listener
start listener(system.default.listener.tcp)

e) Verify the listener has been started by
display lsstatus(*)


f) Stop MQSC by
end

With this...following object has been created
1) default queue manager queue.manager.1
2) local queue called QUEUE1
3) Server connection channel called CHANNEL1

No comments: