Configure retry behavior

By default the retries mechanism for Kofax Transformation Modules is not enabled. In order to turn it on, the retry interval and the maximum time to retry for must be configured. These parameters are stored in the ACConfig.xml file and need to include the ReliableFileSystem element as a direct child of the ACConfig element, as shown below:

<ACConfig>
 <ReliableFileSystem>
  <Retry MaxRetrySeconds="120" MilliSecondsBetweenTries="500"/>
 </ReliableFileSystem>
</ACConfig>
   

The full set of parameters and their defaults for Kofax Transformation Modules are:

Table 1. Retry Parameters

Parameter

Description

Default

MaxRetrySeconds

Maximum length of time during which retries should be done, in seconds.

0 (no retries are done)

MilliSecondsBetweenTries

Amount of time to wait between retries, in milliseconds.

500

MinimumRetries

Minimum number of retries to attempt (overriding the MaxRetrySeconds parameter).

0

For example, to retry every 0.5 seconds for a maximum of 30 seconds with a minimum of 1 retry:

<ACConfig>
 <ReliableFileSystem>
  <Retry MaxRetrySeconds="30" MilliSecondsBetweenTries="500" MinimumRetries="1"/>
 </ReliableFileSystem>
</ACConfig>