listSIBMQLinks command
Use the listSIBMQLinks command to list all WebSphere® MQ links for a specified service integration bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell.
For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus commands in Jython and a brief
description of each command, enter the following command at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter the following command at the wsadmin
prompt:
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 link 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 links. This option restricts the list of IBM MQ links to those links assigned to the node.
- -server
- The name of the server for which you want to list IBM MQ links. This option restricts the list of IBM MQ links 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 links to those links assigned to the server cluster.
- -messagingEngine
- The name of the messaging engine for which you want to list IBM MQ links. This option restricts the list of IBM MQ links 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)'