Before You Begin
The Virtualize <API_Name> (Step 2 of 3) wizard specifies the list of actions to govern the run-time behavior for the virtualized API.
When you define the actions for a virtualized API, keep the following points in mind:
A run-time policy configuration is valid if:
it consists of at least one action in each of these stages -
Receive and
Routing.
there is a valid endpoint configured in the
Route to field of the Routing action.
When you drag an action from the
Policy Actions area, the respective step in the
Message Flow area highlights where the action fits in, thus making the navigation from
Policy Actions area to the
Message Flow area more intuitive.
Not all stages support the full set of actions. Every action happens only within a respective step. For example, the “Evaluate” actions occur only on the
Enforce stage; while the “Routing” actions occur only on the
Routing stage.
Mediator executes the policy actions configured for the virtualized API in a predefined order. For information about how
Mediator executes actions (and how to avoid policy conflicts), see
Effective Policies.
Some actions are mutually dependent. That is, a specific action must be used in conjunction with another particular action. For example, a
Message Flow area that includes the
Set JMS Headers action must also include the
JMS Routing Rule action.
Some actions are mutually exclusive. That is, a specific action cannot be used in conjunction with another particular action. For example, a
Message Flow area that includes the
JMS Routing Rule action cannot include the
Straight Through Routing action.
Some of the actions are allowed to appear multiple times within a message flow step.
For those actions that can appear in a message flow only once (for example, Evaluate IP Address), Mediator will choose only one, which might cause problems or unintended results.
You can view a tooltip text for any accordion by moving the cursor over the accordion name. The tooltip text gives a summary of the accordion’s purpose.
If you modify the policy action for a virtualized API which is already published to a
Mediator gateway,
CentraSite automatically republishes the modified virtualized API.
If you include the Enable REST Support policy action in a SOAP API configuration, clients who can only send REST requests can now invoke a REST-enabled SOAP API using both a SOAP request and a REST request in Mediator, and using a REST request in API-Portal.
If you are using
Mediator as your gateway, you must include at least one Evaluate * action in order to identify or validate the consumers. For common usage cases of identification and validation actions, see
Run-Time Governance with CentraSite.
Be aware that actions from the WS-I category cannot be combined with other types of actions. Also be aware that when you add a WS-I action to the action list,
CentraSite will automatically add dependent actions to the list as necessary.