Read application

You can use the Read Application filter to get information from the client registry about an application.

This filter stores the information in a message attribute (for example, apimgmt.application). You can use this filter within an alert handling policy (or any other policy) to get information about an application easily.

General settings

Configure the following fields:

Name:

Enter an appropriate name for the filter.

Application ID selector:

Enter a selector expression with the name of the message attribute that contains the application ID. The value of the selector is expanded at runtime. The default is ${apimgmt.application.id}.

Name of attribute to set:

Enter the name of the message attribute to set. The default is apimgmt.application.

Example policy

The following figure shows an example of an alert handling policy that uses the Read Application filter. This policy handles the alert generated when an application's access to an API is enabled. It uses the Read Application filter to get information about the application, which it then uses to populate an alert message.

Example alert handling policy

Further information

For more details on configuring policies, see the API Gateway Policy Developer Guide.

Related Links