You can add a bus to an existing network of buses to enable all
of the buses to exchange messages.
The buses must exist and each bus must have at least one bus member
before you can connect them.
To extend the bus network, complete the following steps. For a conceptual
overview, see
Direct and indirect routing between service integration buses.
- In the bus to be added, create a foreign bus for each of the buses
already in the network. See Adding a foreign bus.
Use a direct routing definition type for one of the foreign buses; the existing
bus that this foreign bus represents will act as the "next bus in route" through
which other buses in the network can link to the bus to be added. Use an indirect
routing definition type for the other buses, using the "next bus in route"
foreign bus as the next bus in the route. This provides the indirect link routing
to the other buses.
- In each of the buses in the network, create a foreign bus for the
bus to be added. For the bus that will be connected directly to the new bus,
use a direct routing definition type. For the other buses use an indirect
routing definition type, which provides the indirect link routing
to the bus to be added.
- In the bus to be added, create a service integration bus link from
the messaging engine that is to host the link to the next bus in route. See Adding a service integration bus link This
associates the messaging engine with the routing definition (virtual link).
- In the next bus in route, create a service integration bus link from
the messaging engine that is to host the link to the bus to be added. The
name of the service integration bus link must
match the name of the service integration bus link that
you created in the bus to be added. This associates the messaging
engine with the routing definition.
- Restart the messaging engine in each bus (or restart the server
that contains the messaging engine). The service integration bus link is
started when the messaging engine is started, as long as its Initial state is configured as started.
All of the buses are now connected and they can exchange messages.