I have mulpitle questions:
1. When does the writer call "commit", is it after processing n times with commit-interval=n? If the reader reads 100 records and the commit-interval=10, then an exception occured on the 5th record...what happens to the first 4 records? Are they commited ?
2. How is the commit actually done? does it commit nth records at the same time or one by one ?
3. Does the framework call rollback when an exception has occured in the writer? Or do we have to explicitly make it rollback ?