![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
• If the Preferred Routing Key is not blank, preferred routing is enabled and the Core Engine uses this value as the routing key. Make sure to configure the a routing key which matches the preferred routing key.
• If the Preferred Routing Key is blank, the Core Engine does not enable preferred routing.
• To select the target operation for the facade operation request, configure the preferred routing key on the Routing tab of the Config UI.
−
− If the default routing key is not configured, an error such as Route not found for transaction ID transaction_ID is returned.TIBCO API Exchange Gateway supports the plan type for preferred routing. When the plan type is passed from the TIBCO API Exchange Manager to TIBCO API Exchange Gateway, the Core Engine populates the plan type in the Preferred Routing Key field of the Facade Access tab on the Config UI of TIBCO API Exchange Gateway.Refer to TIBCO API Exchange Manager Administration on how to configure a plan type.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:
3. Select the project under Projects.
4.
5. Click Add Property to add a new routing configuration.
Select getLocationBW from the drop-down list. 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. Select the target operation as http.getLocation from the drop-down list. The http.getLocation target operation is defined in the Target Operations tab.
• 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 Override Preferred Routing Key using XSLT for details.
3. Select the project under Projects.
4.
5. Select the Facade Operations tab.
6. In the New ProcessBody Transform field, upload the XSLT file. The XSLT file generates the routing key using the <routingKey> tag. See Example XSLT File.The following is an example of an XSLT file that sets the routing key as SILVER. Set any value for the routing key in the XSLT file to overwrite the Preferred Routing Key value specified in the Facade Access tab.
<routingKey>SILVER</routingKey>
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |