Reordering Policies
In Mule Gateway, to execute certain policies before others, you can configure the order of execution of included and custom API level policies. However, you cannot configure API level policies to execute before automated policies.
You reorder policies via API Manager.
You cannot configure the execution order of the Cross-Origin Resource Sharing (CORS) policy. In Mule Gateway, the CORS policy executes before automated and API level policies. |
Mule Gateway
To reorder policies in Mule Gateway:
-
Go to Anypoint Platform > API Manager.
-
In API Administration click the name of the API whose policies you want to reorder.
-
From the left navigation menu, click Policies.
-
From the top of the list of the applied policies, click Reorder policies.
-
From the Reorder Applied Policies section, use the up and down arrows to rearrange the order of policies.
-
Click Apply order.