listSIBEngines command
Use the listSIBEngines command to list the messaging engines for a service integration bus member.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
This command lists all the messaging engines on a bus member.
Target object
A bus member.
Required parameters
- -bus busname
- The name of the service integration bus on which the bus member is configured. You can use the listSIBuses command to list the names of existing buses.
Conditional parameters
- -node nodename -server servername
- To list the messaging engines for an application server as a bus member, specify both the name of the node on which the server runs and the name of the server.
- -cluster cluster
- To list the messaging engines for a server cluster as a bus member, specify the name of the cluster.
Optional parameters
None.
Example
AdminTask.listSIBEngines('[-bus bus1 ]')
'node01.server1-bus1(cells/cell01/nodes/node01/servers/server1|sib-engines.xml#
SIBMessagingEngine_1212163145962)\r\n
node02.server2-bus2(cells/cell01/nodes/node02/servers/server2|sib-engines.xml#
SIBMessagingEngine_1212163146273)'