listSIBMQLinks command
Use the listSIBMQLinks command to list all IBM MQ links for a specified service integration bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .
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 at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
The listSIBMQLinks command lists the names of all IBM MQ links for a specified service integration bus. An IBM MQ link connects a messaging engine as a queue manager to IBM MQ, thereby providing a bridge between a service integration bus and an IBM MQ network.
Target object
A specified service integration bus.
Required parameters
- -bus
- The name of the service integration bus for which we want to list IBM MQ links.
Conditional parameters
None.
Optional parameters
- -node
- The name of the node for which we 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 we 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 we 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 we 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)'