listSIBForeignBuses command

Use the listSIBForeignBuses command to list all foreign buses for a specified service integration bus.

To run the command, use the AdminTask object of the wsadmin scripting client.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell.

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

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 an 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 an IBM MQ network.
SIBus
List the foreign buses that link the service integration bus to another service integration bus.

Example

AdminTask.listSIBForeignBuses('[-bus Bus1]')