Illustrates the routing configuration for the Gold plan type as preferred routing.
If you selected the Gold plan type in TIBCO API Exchange Manager for the getLocationBW facade operation, use the following configuration to route the getLocationBW facade operation request to the http.getLocation target operation:
Procedure
Start the Config UI, if not running.
Log in to the Config UI using your credentials.
Select the project under Projects.
On the
ROUTING tab, click
Routing on the top menu.
Click
Add Property to add a new routing configuration.
Enter information for the fields as follows:
Routing Configuration for Preferred Routing Key Type
Parameter
Value
Operation Name
Select
getLocationBW from the drop-down list.
Routing Type
Select
Target Operation from the drop-down list.
Routing Key
The routing key must match the value populated in the
Preferred Routing Key
field of the Facade Access
tab as the routing key.
For example, Gold.
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 the changes to the configuration.
Note:
If the preferred routing key is not configured as the routing key in the
Routing tab of Config UI, the default routing key is used.
You can change the value of the preferred routing key using the XSLT file. The XSLT file is uploaded in the
New ProcessBody Transform field of the facade operation to derive the routing key. The routing key derived from the XSLT file takes the precedence over the routing key configured as preferred routing in the
Routing tab of Config UI. See
Overriding Preferred Routing Key using XSLT for details.