Annotation Type Retry
The Retry annotation instructs Spring to retry
a method execution when catching a given
Throwable.- Since:
- 3.1.0
- Author:
- Vlad Mihalcea
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
on
Declare the throwable types the retry will be executed for.- Returns:
- throwable types triggering a retry
-
-
-
times
int timesThe number of retry attempts- Returns:
- retry attempts
- Default:
- 1
-