I read a chunk of 100 records from database - do webservice call in itemprocessor and mark the item status as C (completed) or F (failed and committing it to database in SkipListener) and in itemwriter - i commit my item status back to database. However, if my itemprocessor throws SkipLimitExceedsException (set to 5) - itemwriter is not being called and item status are not being set to C. Is there a way to call ItemWriter and mark the items already processed?

Please help me!