User Defined policy (UserDefined)
A User Defined policy has no predefined properties, so that you can define your own properties.
- Set timeout values for HTTP message processing.
- Set timeouts that are associated with message category for HTTP messages.
You can currently use the Policy editor in the IBM® App Connect Enterprise Toolkit to view and edit the properties of an existing User Defined policy. You cannot use the editor to create a new User Defined policy or add additional properties to an existing policy.
Save the file with the extension .policyxml. If you import this .policyxml file into a policy project in the IBM App Connect Enterprise Toolkit, you can open the policy in the Policy editor and edit the values.
<?xml version="1.0" encoding="UTF-8"?> <policies> <policy policyType="UserDefined" policyName="MyUDCS" policyTemplate=""> <prop1>a value</prop1> <prop2>another value</prop2> <prop3>100</prop3> </policy> </policies>
If you redeploy a User Defined policy, all message flows that are using the policy will be stopped and restarted.