Apr 23rd, 2009, 04:20 AM
How to write skipped data to itemWriter inside a SkipListener
I have a SkipListener set up and I inject an itemWriter into it. When I use the itemWriter, I get:
org.springframework.batch.item.WriterNotOpenExcept ion: Writer must be open before it can be written to
How do I handle this situation? I read a posting that suggested opening it in an earlier step, but I can't see how to do this...
Suggestions gratefully recieved.
Last edited by alpheratz; Apr 23rd, 2009 at 04:21 AM.
Reason: unmunge the exception name