The Message Part Identifier allows policies to identify that part of the message from where the values required for various policies needs to be populated. For example, to perform Response Cache based on Query parameter, the key in the policy can be configured as Query Parameter such as ID. 

Figure 1: The dialog box to choose the Identifier Type


The types of message parts are:

Each Message Part type is explained below.

Context Variable

The name can be one of the Context variables defined in the Context Variables section or any variable defined using the Assign Variables Policy.

Figure 2: Context Variable Identifier type with a list of Variable names


The name of the query parameter used as the identifier.

Figure 3: Parameter Identifier type with its corresponding attributes


The name of the Header used as the identifier.

Figure 4: Header Identifier type with its corresponding attributes


This option can be used to define constants as variables. Example: The value of weight in the Quota Policy.

Figure 5: Constant Identifier type with the corresponding attributes

Default Value

The default value is used when the identifier specified is not present in the incoming message. For example, the variable "" will not be present unless Verify API Key or OAuth Token End Point is used.

Adaptavist ThemeBuilder EngineAtlassian Confluence