-
Jan 16th, 2008, 10:06 AM
#1
Will ItemReaders need to be transactional after chunk-oriented M4?
I am just coding a custom ItemReader (LDAP) where implementing transactional behavior is painful. This made me wondering whether after chunk-oriented M4 release ItemReaders will still need to be transactional or this concern will be completely pushed up on higher (I assume Chunk) level.
Thanks
-
Jan 17th, 2008, 03:57 AM
#2
We're still working through that, and should hopefully have a definitive answer next week. They definitely won't be the same type of transactional as they are now, where they need to worry about rollbacks, since the new ChunkProvider should just give the same chunk back to a ChunkExecutor. However, if you intend your ItemReader to be restartable, then there will need to be some way to 'mark' it's current location. I would add a mark method for now, it can always be modified to fit any interface changes we make fairly easily.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules