OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces

Fixed use of state in stateless retry
This commit is contained in:
dsyer
2008-08-25 12:08:44 +00:00
parent 193f63a24a
commit 1da437fb00

View File

@@ -33,7 +33,6 @@ import org.springframework.batch.item.jms.JmsItemReader;
import org.springframework.batch.jms.ExternalRetryInBatchTests;
import org.springframework.batch.retry.RetryCallback;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryState;
import org.springframework.batch.retry.support.RetryTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.simple.SimpleJdbcTemplate;
@@ -196,9 +195,9 @@ public class SynchronousTests {
});
}
}, new RetryState(item));
});
// Verify the state after stransactional processing is complete
// Verify the state after transactional processing is complete
List<String> msgs = getMessages();