Spring Batch : how to get chunk’s item after the transaction commit?
With Spring Batch : I would like to publish all chunks items to another repository (some sort of messaging queue). But before publishing them, I need to make sure the transaction succeeds properly (my Writer is a JPA Repository).