![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
• By default, the default routing key is provided.If no routing key is derived from the parsing of the request message and no preferred routing key is configured, default routing key is used.
• default: default routing key is used:
− if the ProcessBody transform field for a facade operation does not generate a routing key.
− if the routing key derived from custom XSLT or specified in Preferred Routing Key field for a facade operation is not configured in the Routing tab.
• routingKeyValue: indicates a specific value of the routing key derived from an XSLT file. The routingKeyValue is a value populated from the transformation (XSLT) file using the routingKey element tag.
• Preferred Routing Key: a specific value specified in the Preferred Routing Key field of PARTNER > Facade Access tab.To derive a routing key, define a XSLT file with routingKey element tag and upload this XSLT file in the ProcessBody transform field for a facade operation configuration. In such a case, the incoming facade operation request is parsed as per the defined XSLT file and a routing key is returned. After the routing key is populated from the transformation, the Core Engine checks the routing key configuration to determine the target operation or target operation group for a facade operation request. The routing key configuration contains the routing key, the facade operation name, and the target operation name or target operation group name and is configured in the Routing tab of the Config UI. See How to Derive and Configure Routing Key for details.Task A Define a Transformation FileYou should define a transformation (XSLT) file that contains the routingKey element tag to populate the routing key.
• See Routing Schema document as a reference to the XSLT file schema for the routing key.
• facade operation request content (as defined by nbRequest element).
• facade operation request context (as defined by context element).
Refer to the following transformation (XSLT) file shipped with the GetLocation example:
• ASG_CONFIG_HOME/GetLocation/xslt/operations/parse_getLocation.xmlThe example illustrates that the routing key is populated based on the value of opCoId, which is derived as a substring of the address element in the request message.
Task B Click the ROUTING Tab
4. Click the ROUTING tab on the upper right.
1.
2. Click the Facade Operations tab on the top menu.
a. Click the Choose File button in the New ProcessBody Transform field to select a XSLT transformation file.
b. Click the Open button to upload the XSLT file.
• Define the XSLT file to upload in the New ProcessBody Transform field. See Define a Transformation File.
• If the XSLT file is located in the ASG_CONFIG_HOME/ASGConfigName/xslt/operations directory, select the XSLT file in the ProcessBody Transform field.
• If the New ProcessBody Transform or ProcessBody Transform field of the facade operation configuration contains no XSLT file or has an XSLT file with no routingKey element tag, the Core Engine uses the Routing configuration with the default routing key.Task D Routing ConfigurationYou can configure the routing key to map a facade request to a target operation or a target operation group using the ROUTING > Routing tab of the Config UI as follows:
1.
2. Click the Routing tab on the top menu.
• Specifies the name of the facade operation. The operation name must be defined in the Facade Operations tab of the Config UI.
• Select Target Operation to route the facade request to a target operation.
•
• The default value is default.
• Specifies the name of the target operation. The target operation name must be defined in the Target Operations tab of the Config UI.
1.
2. Click the Routing tab on the top menu.
• Specifies the name of the facade operation. The operation name must be defined in the Facade Operations tab of the Config UI.
• Select Target Operation Group to route the operation request to a target operation group. The target operation group is a group of the target operations.
•
• The default value is default.
• Select a predefined target operation group from this drop-down list. The target operation group must be defined in the Target Operation Groups tab of the Config UI. See Target Operation Group for the details.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |