Retry policy overview
A retry policy defines the options and course of action that the system takes when a message must be retransmitted to a partner or a target service.
Retries are performed in the following situations:
- The destination is not available (for example, if your trading partner's server is down)
- The destination is unreachable (for example, if the URL or port is invalid)
- An SSL failure occurred
- A certificate issue occurred (for example, if the certificate is invalid)
Restriction: If the data is transmitted and the data transfer is broken, retry is not
performed.
You must configure a retry policy based on an agreement with your
trading partner. The configuration of the retry policy includes the
following components:
- Server retries
- Server retries correspond to the transport level retry. A transport level retry is made to resolve the transient failures in the network over which delivery is attempted. If a failure occurs at the transport level, specify the number of times you want AS4 Microservice to retry to deliver the document.
- Server retry interval
- The time interval for the server retry.
- Destination retries
- A destination retry is specific to a particular HTTP or HTTPS destination. Specify the number of times you want AS4 Microservice to try to deliver the document if the specified HTTP or HTTPS destination is not available.
- Destination retry interval
- The time interval for the destination retry.
- Automatic queue settings
- Automatic queue settings section to specify settings for the target service.