Foreign buses

You can configure a service integration bus to connect to, and exchange messages with, other messaging networks. To do this, you configure a foreign bus definition, which represents either another service integration bus, or a WebSphere® MQ queue manager, that the existing service integration bus can exchange messages with. In this way, you can extend the network of buses that can exchange messages.

When an application connects to a service integration bus, that bus is its local bus. A foreign bus is any other bus that has a link to the local bus. When the foreign bus is a service integration bus, it can be in the same cell as the local bus, or in a different cell.

To exchange messages between two buses, you configure a foreign bus definition from the local bus to the second bus. The foreign bus is associated with the local bus, and identifies the second bus as a foreign bus.

If the second bus is another service integration bus, you then configure a foreign bus definition from the second bus to the first bus. The foreign bus is associated with the second bus, and identifies the first bus as a foreign bus relative to the second bus. If the second bus is in a different cell from the first bus, you use the administrative console for the second cell to configure this foreign bus.

A foreign bus definition can be direct or indirect. For a direct foreign bus definition, messages route directly through a link between the local bus and the foreign bus. For an indirect foreign bus definition, messages route indirectly through one or more intermediate buses.

A foreign bus definition contains a routing definition, also known as a virtual link, which indicates the type of physical link:

In the following figure, for an application that is connected to Bus 1, messages that are routed to Bus 2 use a direct foreign bus definition. Messages that are routed to Bus 3 use an indirect foreign bus definition and use Bus 2 as an intermediate bus.

Figure 1. Linking service integration buses.
Three service integration buses are connected through a service integration bus link on a messaging engine in each bus.

Before you create and configure a foreign bus link, you must create a foreign bus definition. The following restrictions apply to creating a foreign bus definition:

You can define an explicit destination on a foreign bus, to which an application can send messages. You can also configure default properties for use by messages sent to destinations on a foreign bus when there is no explicit foreign destination definition, and the application does not explicitly provide values for the properties. An application cannot receive messages from a foreign destination; it can only consume messages from a destination on the bus to which it is connected.

Messages flowing to or from a foreign bus that cannot be successfully processed are rerouted to the system exception destination of the messaging engine that owns the foreign bus link, possibly disrupting message order. Common reasons for rerouting messages to the exception destination are that the target destination is unknown by the foreign bus, or that the foreign bus has not granted the sending bus access to the target destination.

An application subscribing to a local topic space can receive messages published to a topic on a foreign bus. To allow publish/subscribe messaging between buses, you must map topic space names on a local bus to topic space names on a foreign bus.

A topic space mapping allows subscribers on the local topic space to receive messages published in the foreign topic space. For publications to flow from the local topic space into the foreign bus, an equivalent topic space mapping is required by the foreign bus.

You administer topic space mappings through the routing properties for a foreign bus. Topic space names for the local bus are mapped to topic space names defined on the foreign bus. It is common for these two names to match. Note that mapping two topic spaces implies that the topics in them are the same.




Related concepts
Planning issues for bus topologies
Planning issues for multiple-bus topologies
Planning issues for topologies that include WebSphere MQ
Message ordering
Interconnected buses
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 destination on a bus
Securing access to a foreign bus
Concept topic Concept topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 1:23:07 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=cjj0030_
File name: cjj0030_.html