WebSphere WebSphere Application Server Network Deployment, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Configuring a destination reverse routing path

Use this task to configure a reverse routing path between two bus destinations. The reverse routing path identifies the list of destinations that any reply message should sent to from the consumer back to the producer.

Why and when to perform this task

This figure shows a producing application that sends messages to a bus destination.. Unknown to the application, the messages are then passed along a forward routing path of other bus destinations to a target destination from which a consuming application retrieves the messages.

If producing and consuming applications both attach directly to the destination that is to host and process their messages, you do not need to use routing paths. You can still use mediations assigned to the destination to manipulate messages. However, if you want a more flexible architecture, you can assign mediations to several destinations then specify those destinations as the forward routing path for another destination.

For each destination that is to be part of a reverse routing path back to the producer application, you can specify the name of a reply destination, which is the next destination in the reverse routing path. For example in the above diagram, if reply messages are to retrace the forward routing path back to the producing application, you would set reverse routing path as follows:
Destination Reply destination bus
D4 D3
D3 D2
D2 D1
D1 Destination

You can specify a different reverse routing path to the forward routing path, to enable more mediations to be applied to reply messages, or to apply mediations in a different destination sequence.

If the same destinations are used for both the forward and reverse routing paths, you can configure the reverse routing path when you configure the forward routing path, as described in Configuring a destination forward routing path. Otherwise, you can configure (or change) the reverse routing path as described in this topic.

To configure a reverse routing path, you only need to change the properties of the destinations you want to use. This topic contains optional steps to create destinations, in case you have not already done so.

To configure a reverse routing path for a destination, use the administrative console to complete the following steps:

Steps for this task

  1. Optional: If you have not yet done so, create the destination to which the producer applications attaches. For this destination, you can create a queue or create a topic space.
  2. Optional: If you have not already done so, create each destination in the path.
  3. Optional: If you have not already done so, assign mediations to the destinations in the path. You can include a destination without mediations in a routing path, to provide a future option to apply a mediation assigned to that destination.
  4. On each destination in the reverse routing path, specify the name of the next destination in the path:
    1. In the navigation pane, click Service integration > Buses.
    2. In the content pane, click the name of the bus on which the destination exists.
    3. In the content pane, under Destination resources, click Destinations
    4. Click the destination name.
    5. In the Reply destination field, type the name of the next destination in the reverse routing path.
    6. In the Reply destination bus field, type the name of the next destination in the reverse routing path.
    7. Save your changes to the master configuration.
Related concepts
Destination routing paths
Related tasks
Listing bus destinations
Creating a bus destination
Configuring bus destination properties
Configuring mediations
Configuring a destination forward routing path
Configuring context properties for a bus destination
Administering destination roles through the command line
Deleting a bus destination
Resetting a destination

Task topic

Terms of Use | Feedback

Last updated: 15 Mar 2007
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.pmc.nd.doc\tasks\tjo0025_.html

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