listSIBJMSConnectionFactories command
Use the listSIBJMSConnectionFactories command to list all JMS connection factories for the default messaging provider at a specific scope.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需 Jython 中可用的服務整合匯流排 JMS 指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBJMSAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
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
- Using 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)'
- Using 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)