+

Search Tips   |   Advanced Search

Choose a target service and port through a routing mediation

Write a routing mediation and configure it to select a target service and port. If we have migrated a web services gateway that included a routing filter, use this task to recreate the equivalent functions using a mediation.

One gateway service can map to one or more target services, and (for outbound target services) each target service can have one or more ports as defined in the outbound service WSDL. Without a routing mediation there is no point in mapping multiple targets because the gateway always picks the default destination. To map multiple targets, write a routing mediation then configure it, for each gateway service, to select the target service and target port.

We associate routing mediations with service integration bus destinations. To pick a target service, you associate the mediation with the gateway service destination. To pick an outbound service port, you associate the mediation with the outbound service destination.

Use the steps described in Writing a routing mediation to help you write a mediation application containing a routing handler, install it into WebSphere Application Server and associate it with a destination.