November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

how to check JMS queue depth using jacl

Case 1: check depth of 1 particular queue

set qpoint “WebSphere:*,type=SIBQueuePoint,name=MyQueuePointName” set queues [$AdminControl queryNames $qpoint] foreach q $queues { set identifier [$AdminControl getAttribute $q identifier] set size [$AdminControl getAttribute $q depth] puts “$identifier size: $size messages” puts [$AdminControl getAttributes $q] }

Case 2: check all the queue points

set qpoint “WebSphere:*,type=SIBQueuePoint” set queues [$AdminControl […]

websphere mq: create queue manager

Create queue manager

crtmqm -c “QMANAGER DESCRIPTION” -q QMANAGER_NAME.QUEUE.MANAGER

Create queue manager and default queue

crtmqm -q -d DEFAULT.QUEUE -u SYSTEM.DEAD.LETTER.QUEUE -c “QMANAGER DESCRIPTION” QMANAGER_NAME.QUEUE.MANAGER

websphere mq: basic administration commands

launch runmqsc

display queue manager(s) display qmmgr(*)

display queue(s) display queue(*)

display channel(s) display channel(*)

display listener(s) display listener(*)

check queue status display qstatus(*)

clear queue clear qlocal(queue_name)

display connections display conn(*)

dspmq runmqsc dis chs (channel) start chl (channel) stop chl (channel) reset chl (channel) start chl (channel) end

Start Q Manager ————— strmqm […]