Configure a routing key for the getLocationBW operation to route the request to the http.getLocation target operation, as follows:
Procedure
On
ROUTING tab, click the
Routing tab on the top menu.
Click the
Add Property to add a new routing configuration.
Enter the fields as follows:
Routing Configuration for GetLocation Example
Parameter
Value
Operation Name
Select getLocationBW from the drop-down list.
Routing Type
Select Target Operation from the drop-down list.
Routing Key
Enter 49 as the routing key.
Target Operation
Select the target operation as http.getLocation from the drop-down list. The http.getLocation target operation is defined in the Target Operations tab.
Save any changes to the configuration.
Note: The routing configuration for the GetLocation example demonstrates the getLocationBW operation. For the getLocationBW operation request, if the routing key is populated as 49 from the data content of the incoming request message, the request is routed to the http.getLocation target operation. Similarly, you can define additional routing configuration to route the request to a different target operation for a different routing key.