listSIBJMSConnectionFactories command
Use the listSIBJMSConnectionFactories command to list all JMS connection factories for the default messaging provider at a specific scope.
To run the command, use the AdminTask object of the wsadmin scripting client.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus JMS commands in Jython and a brief description of each command, enter at the wsadmin prompt:
print AdminTask.help('SIBJMSAdminCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
This command lists all JMS connection factories for the default messaging provider at a specific scope
Target object
Scope of the default messaging provider at which the JMS connection factories were created.
Required parameters
None.
Optional parameters
- -type
- The -type parameter is used to filter the list of connection factories.
- Select one of the following values:
- all
- List all JMS connection factories (generic, queue, and topic) at the specified scope.
- queue
- List all JMS queue connection factories at the specified scope.
- topic
- List all JMS topic connection factories at the specified scope.
If the -type parameter is not supplied, then only generic JMS connection factories at the scope are listed.
Example
- Use Jython:
wsadmin>AdminConfig.getid("/Node:9994GKCNode01" ) '9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)' AdminTask.listSIBJMSConnectionFactories("9994GKCNode01(cells/9994GKCNode01Cell/ nodes/9994GKCNode01|node.xml#Node_1)") 'qcf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CConnectionFactory_1098730054140)'- Use Jacl:
wsadmin>$AdminConfig getid /Node:9994GKCNode01 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>$AdminTask listSIBJMSConnectionFactories 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) qcf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CConnectionFactory_1098730054140)