Example

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

  1. Start the Config UI, if not running.
  2. Log in to the Config UI using your credentials.
  3. Select the project under Projects.
  4. On the ROUTING tab, click Routing on the top menu.
  5. Click Add Property to add a new routing configuration.
  6. 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.

  1. 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.