You create a foreign destination on a service integration bus (the local bus) to represent a destination that is defined in another bus (a foreign bus). You use a foreign destination when you need to override messaging defaults, security settings, or both for an individual destination on a foreign bus.
In the following diagram, a foreign destination in Bus A points to a target destination on Bus B. A JMS application connects to Bus A and sends a message to the queue targetQueue in Bus B. The application uses the JMS connection factory and JMS queue without being aware of the associated foreign destination.
The foreign destination encapsulates the name of the target destination that exists in the foreign bus (Identifier property) and the name of that foreign bus (Bus property). An application that wants to use the foreign destination to exchange messages with the target destination must specify the Identifier and Bus properties.
JMS queue | Foreign destination (on BusA) | Queue (on BusB) |
Queue name targetQueue Bus name BusB |
Identifier targetQueue Bus BusB |
Identifier targetQueue |
To define a new foreign destination, use the administrative console to complete the following steps.
In this information ...Related concepts
| IBM Redbooks, demos, education, and more(Index) |