REOPENED - BATCH-996: use default retryLimit == 1 (not 0) in *StepFactoryBean

revert back to default retryLimit == 0 which was actually correct
This commit is contained in:
robokaso
2009-01-29 13:20:20 +00:00
parent c6437b90b1
commit c083ff07b4
2 changed files with 4 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ public class SimpleRetryPolicy implements RetryPolicy {
*/
public final static int DEFAULT_MAX_ATTEMPTS = 3;
private volatile int maxAttempts = 1;
private volatile int maxAttempts;
private BinaryExceptionClassifier retryableClassifier = new BinaryExceptionClassifier();