listSIBMQLinks command
Use the listSIBMQLinks command to list all Link do WebSphere® MQs for a specified service integration bus.
Para executar o comando, utilize o objeto AdminTask do cliente de script wsadmin.
O cliente de script wsadmin é executado do Qshell.
Para obter informações adicionais, consulte Configurando o Qshell para Executar Scripts do WebSphere Usando o Script wsadmin.
A ajuda da linha de comandos é fornecida para comandos do barramento de integração de serviços:
- Para obter uma lista dos comandos de barramento de integração de
serviços disponíveis no Jython e uma breve descrição de cada comando, digite o seguinte
comando no prompt wsadmin:
print AdminTask.help('SIBAdminCommands')
- Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt 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 Link do 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 Link do IBM MQs. This option restricts the list of Link do IBM MQs to those links assigned to the node.
- -server
- The name of the server for which you want to list Link do IBM MQs. This option restricts the list of Link do IBM MQs 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 Link do IBM MQs to those links assigned to the server cluster.
- -messagingEngine
- The name of the messaging engine for which you want to list Link do IBM MQs. This option restricts the list of Link do IBM MQs 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)'