Configuring EIS connections to expire after a specified time

You can configure connections to SAP, Siebel, and PeopleSoft to expire after a specified time by using a policy.

About this task

You can use the Connection idle timeout property on a policy to control the number of connections to SAP, Siebel and PeopleSoft by closing connections that have not been used for a specified time.

Procedure

  1. Use the Policy editor in the IBM® App Connect Enterprise Toolkit to create a policy and select an appropriate policy type, such as SAP Connection (see Creating policies with the IBM App Connect Enterprise Toolkit).
  2. Ensure that the name of the policy is the same as the name that is specified by the Primary adapter component property on the message flow node that you want to override.
    Specify the name of the policy project and the policy on the message flow node in the format {policyProjectName}:PolicyName.
  3. Set the Connection idle timeout property on the policy to the number of seconds for which the connection can be idle before it is closed.

    The default value for this property is 0 (zero) seconds, indicating that no timeout occurs. Note that new connections to SAP are opened with different user IDs; therefore do not set this property to zero if you are using identity propagation.

  4. Deploy this policy before you start the associated message flow.