listSIBLinks command
Use the listSIBLinks command to list all service integration bus links for a given bus.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
The listSIBLinks command lists the names of all service integration bus links for a specified service integration bus. A service integration bus link defines a link between a messaging engine in one service integration bus and a messaging engine in a foreign service integration bus.
Target object
A bus.
Required parameters
- -bus
- The name of the service integration bus for which you want to list service integration bus links.
Conditional parameters
None.
Optional parameters
- -node
- The name of the node for which you want to list service integration bus links. This option restricts the list of service integration bus links to those links assigned to the node.
- -server
- The name of the server for which you want to list service integration bus links. This option restricts the list of service integration bus links to those links assigned to the server.
- -cluster
- The name of the server cluster for which you want to list service integration
bus links. This option restricts the list of service integration bus links
to those links assigned to the server cluster.
This option is for use only in WebSphere® Application Server environments that support server clusters.
- -messagingEngine
- The name of the messaging engine for which you want to list service integration bus links. This option restricts the list of service integration bus links to those links assigned to the messaging engine.
Example
AdminTask.listSIBLinks('[-bus bus1 -foreignBus bus2]')
'mySIBLink(cells/cell01/nodes/node01/servers/server1|sib-engines.xml#
SIBLink_1212163147845)'
wsadmin>