IBM App Connect Enterprise, Version 11.0.0.2 Operating Systems: Windows, Linux


Overriding properties at run time with policies

Use policies to control the behavior of message flows, and the nodes in message flows, at run time.

Before you begin

For more information about policies, read Policies overview.

About this task

By taking advantage of policies, you can define a common approach to controlling particular node properties, such as connection credentials, and certain aspects of message flow behavior, including flow rate. You can create and update policies at any time in the solution lifecycle.

Procedure

  1. Create a policy by using the Policy editor and, if appropriate, attach it to a message flow node (see Creating policies with the IBM App Connect Enterprise Toolkit).

    Policies are XML files; therefore, you can create a policy by using an XML editor if you do not want to use the Toolkit. Policy documents are defined by an XML Schema Definition (Policy.xsd), which is found in the default installation directory. For example, on Windows, you can find the policy definition file at C:\Program Files\IBM\ACE\version\common\schemas\Policy.

  2. Deploy the policy in a policy project. You can either deploy the policy project in an independent BAR file or in the same BAR file as the associated message flow (see Adding resources to a BAR file).

    Deployed policies are shown in the run sub-directory of the integration server work directory, within a sub-directory with the name of the policy project. You can see the properties of deployed policies in the Integration Explorer of the IBM® App Connect Enterprise Toolkit or on the Policies tab of the web user interface (see Accessing the web user interface). You can also see which properties are being used by the deployed flow at run time by using the REST API or web user interface.

  3. Optional: You can override a deployed policy by putting an updated policy project in the overrides sub-directory of the integration server work directory (see Overriding deployed policies at run time with the overrides directory).

xi62000_.htm | Last updated 2018-11-02 14:46:52