Use the listSIBJMSQueues command to list all JMS queues for the default messaging provider at a specific scope.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.
print AdminTask.help('SIBJMSAdminCommands')
print AdminTask.help('command_name')
This command returns a list of all JMS queues for the default messaging provider at a specific scope.
Scope of the default messaging provider at which the JMS queues were created.
None.
None.
wsadmin>AdminConfig.getid("/Node:9994GKCNode01" ) '9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)' wsadmin>AdminTask.listSIBJMSQueues("9994GKCNode01(cells/9994GKCNode01Cell/ nodes/9994GKCNode01|node.xml#Node_1)") 'queue1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CAdminObject_1098711838691)'
wsadmin>$AdminConfig getid /Node:9994GKCNode01 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>$AdminTask listSIBJMSQueues 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) queue1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CAdminObject_1098711838691)