3.4.1 Setting The Retry Policy

To mark an interface implementation as idempotent, you must set the retry policy in the implementation configuration file (ICF) using the retry_policy option. For a description of the ICF, refer to the Implementation Configuration File (ICF) section.

The retry_policy option has two settings:

  • never: The default setting. It indicates that the interface implementation is not idempotent and that requests should never be automatically retried.
  • always: Indicates that the interface implementation is idempotent and that requests should always be retried in case of failure.