listSIBMQLinks command
Use the listSIBMQLinks command to list all WebSphere® MQ 鏈結s for a specified service integration 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 listSIBMQLinks command lists the names of all IBM MQ links for a specified service integration bus. A IBM MQ 鏈結 connects a messaging engine as a queue manager to IBM MQ, thereby providing a bridge between a service integration bus and a IBM MQ network.
Target object
A specified service integration bus.
Required parameters
- -bus
- The name of the service integration bus for which you want to list IBM MQ links.
Conditional parameters
None.
Optional parameters
- -node
- The name of the node for which you want to list IBM MQ 鏈結s. This option restricts the list of IBM MQ 鏈結s to those links assigned to the node.
- -server
- The name of the server for which you want to list IBM MQ 鏈結s. This option restricts the list of IBM MQ 鏈結s to those links assigned to the server.
- -cluster
- The name of the server cluster for which you want to list IBM MQ links. This option restricts the list of IBM MQ 鏈結s to those links assigned to the server cluster.
- -messagingEngine
- The name of the messaging engine for which you want to list IBM MQ 鏈結s. This option restricts the list of IBM MQ 鏈結s to those links assigned to the messaging engine.
Example
AdminTask.listSIBMQLinks('[-bus bus1 -foreignBus foreignbus1 ]')
'foreignbus1(cells/cell01/nodes/node01/servers/server1|sib-engines.xml#
SIBMQLink_1213002780841)'