Use the createSIBForeignBus command
to create a new service integration foreign bus.
To
run the command, use the AdminTask object of the wsadmin scripting
client.
Command-line help is provided for service integration bus commands:
After using the command, save your changes to the
master configuration; for example, by using the following command:
AdminConfig.save()
Purpose
This command creates a new foreign
bus for a specified service integration bus. A foreign bus represents
a bus with which another bus can exchange messages.
Target object
A specified service integration
bus.
Required parameters
- -bus busname
- The name of the service integration bus for which you want to
create the foreign bus. You can use the listSIBuses command
to list the names of existing buses.
- -name busname
- The name by which you want the foreign bus to be known.
Notes:
- When you create a foreign bus that represents another service
integration bus, the name of the foreign bus must match the name of
the other service integration bus.
- When you intend to link two buses directly, you must assign them
unique names.
- You must not change the name of a foreign bus name after it has
been configured.
- -routingType Direct | Indirect
- Create a foreign bus 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.
Conditional parameters
None.
Example
AdminTask.createSIBForeignBus('[-bus bus1 -name foreignbus1 -routingType Direct
-type SIBus]')
'foreignbus1(cells/cell01/buses/bus1|sib-bus.xml#SIBForeignBus_1213023645293)'