This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
Does the ability to retry a tasklet exist? I have already ran my batch steps and my final step simply renames a file. If an error occurs here I want it to retry but as this is outside of the chunk processing I don't see an easy way to retry it.
Now I have problem to configure chunk to retry. For example my FlatFileItemReader is configured to load a daily csv file on a ftp site, I'd like it keep trying until the file is available.The following doesn't work. It's terminated right away without retrying with ItemStreamException. Does anybody have any idea? Also, how can I inject my own retry policy without AOP to this itemReader? Thanks