Set Sticky Key for Load-Balancing with StickyResourceAffinity
Using transformation (XSLT) file to set sticky key.
TIBCO API Exchange Gateway supports multiple load-balancing policy types for target operations that are grouped within a target group. When a load-balancing policy with StickyResourceAffinity is configured for a target group, a parse step XSLT transformation is used to derive the sticky key from the request payload message or request transport context. The output document as generated by the parse step XSLT transformation contains a stickyRoutingKey element that needs to be set to associate a sticky routing key to the request for further processing.
For more information on how to configure and use load-balancing policies for target groups with StickyResourceAffinity, see StickyResourceAffinity Target Operation Group Configuration.