listSIBForeignBuses command
Use the listSIBForeignBuses command to list all foreign buses for a specified service integration bus.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 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]')