IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry

Add context to retry recovery callback
This commit is contained in:
dsyer
2008-05-11 14:04:03 +00:00
parent 4ed7cc5a25
commit eabac61a40
8 changed files with 15 additions and 20 deletions

View File

@@ -150,7 +150,7 @@ public class RecoveryRetryPolicyTests extends TestCase {
}
});
callback.setRecoveryCallback(new RecoveryCallback() {
public Object recover(Throwable cause) {
public Object recover(RetryContext context) {
count++;
list.add(input);
return input;
@@ -189,7 +189,7 @@ public class RecoveryRetryPolicyTests extends TestCase {
}
});
callback.setRecoveryCallback(new RecoveryCallback() {
public Object recover(Throwable cause) {
public Object recover(RetryContext context) {
count++;
list.add(input);
return input;