listSIBForeignBuses command
Use the listSIBForeignBuses command to list all foreign buses 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
This command lists the names of all foreign buses for a specified service integration bus. A foreign bus represents a bus in another cell (or within the same cell) or a IBM MQ network, with which a service integration bus can exchange messages.
Target object
A bus.
Required parameters
- -bus busname
- The name of the service integration bus for which you want to list foreign buses.
Conditional parameters
None.
Optional parameters
- -routingType Direct | Indirect
- List the foreign buses with the physical link (also known as the routing
type) specified:
- Direct
- A service integration bus link from a messaging engine in the local bus to a messaging engine in the foreign bus.
- Indirect
- An indirect link, that is, a link that is made through one or more intermediate foreign buses.
- -type MQ | SIBus
- List the foreign buses with the type specified:
- MQ
- List the foreign buses that link the service integration bus to a IBM MQ network.
- SIBus
- List the foreign buses that link the service integration bus to another service integration bus.
Example
AdminTask.listSIBForeignBuses('[-bus Bus1]')