WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Direct and indirect routing between service integration buses

You can use direct and indirect links to interconnect service integration buses so that all of the buses can exchange messages.

Service integration buses can be linked directly or indirectly. In the case of a direct connection, two buses are connected directly by a single service integration bus link. In the case of an indirect connection, one or more intermediate buses connected in a chain link two buses.

Each bus must be able to get to every other bus to which it is connected, using routing definitions. In this context, the bus you start with is referred to as the local bus, and each of the buses to which it is connected is referred to as a foreign bus. Information about how messages are routed from the local bus to each foreign bus is stored in the local bus in a foreign bus definition's routing definition. The routing definition indicates:
Figure 1. Direct connection between two service integration buses using a service integration bus link

Bus 1 and Bus 2 are directly connected using a direct service integration bus link.

Directly connecting two service integration buses, Bus 1 and Bus 2, using a service integration bus link.
Figure 2. Indirectly connecting two service integration buses, using two direct service integration bus links

When connecting one bus to another bus via an intermediate bus or a chain of buses, no new service integration bus links are required. Instead, each foreign bus definition identifies a neighboring bus on route to the final bus at the "next hop" in the chain. Each bus in the chain must know of the next hop in the chain to reach the final bus. The local bus uses its foreign bus definition to identify the next bus in the chain to the final bus, and uses its direct service integration bus link to flow messages to that bus. The intermediary bus then uses its locally defined foreign bus definition to identify the next hop on to the final bus until the next hop bus is the final bus.

To get indirectly from Bus 1 to Bus 3, your messages can be routed through a link from Bus 1 to Bus 2, then through another link from Bus 2 to Bus 3. In the foreign bus definitions of Bus 1, Bus 2 is identified as the next foreign bus on route to Bus 3. Bus 2 then uses its locally defined foreign bus definition to identify the next hop on to the final bus. In this case, Bus 3 is identified as a foreign bus connected indirectly via foreign bus Bus 2; Bus 3 is the final bus.

The diagram shows three service integration buses, Bus 1, Bus 2 and Bus 3. to get indirectly from Bus 1 to Bus 3, your messages might be routed through a link from Bus 1 to Bus 2, then through another link from Bus 2 to Bus 3.

The following diagram shows an existing network of three buses, Bus 1, Bus 2 and Bus 3, to which a new bus, Bus n, is to be added. Bus n will be connected directly to Bus 1, and indirectly to Buses 2 and 3.

A network of three service integration buses, bus 1, bus 2 and bus 3, connected in a linear fashion by two service integration bus links between messaging engines in each bus. A fourth bus, bus n, is yet to be added to the network.

To add Bus n to the network, and to allow messages to flow between any of the buses, the following items must be created:

In Bus n:

In Bus 1:

In Bus 2:

In Bus 3:

The following diagram illustrates the network after adding Bus n.

A network of three service integration buses, bus 1, bus 2 and bus 3, connected in a linear fashion by two service integration bus links between messaging engines in each bus. A fourth bus, bus n, is now linked to the rest of the network through Bus 1.

Related tasks
Connecting buses
Connecting buses directly
Extending the bus network
Configuring foreign bus definitions
Adding a foreign bus
Configuring the properties of a foreign bus
Listing the foreign buses
Removing a foreign bus
Configuring destination defaults for a foreign bus
Creating a routing definition
Modifying a routing definition
Removing a routing definition
Configuring service integration bus links
Creating a foreign bus destination
Securing access to a foreign bus
Planning a bus topology
Planning a multiple-bus topology
Planning a topology that includes WebSphere MQ

Concept topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/concepts/cjj0092_.html

Copyright IBM Corporation 2004, 2008. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)