Using own FlatFileItemWriter, footer not getting printed
We have written our own flat file item writers which we are calling from writer itself. We are using Spring batch 2.0. Pplease find attached code snippet for your reference.
We are able to write content of Header/Detail properly if we dont call itemWriter.close(). In this case footer is not getting printed.
But once we call itemWriter.close(), we are getting error. Find attached error message as well.