Results 1 to 8 of 8

Thread: How to write skipped data to itemWriter inside a SkipListener

Threaded View

  1. #1
    Join Date
    Mar 2006
    Posts
    119

    Default 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.

    Cheers,

    Alph
    Last edited by alpheratz; Apr 23rd, 2009 at 04:21 AM. Reason: unmunge the exception name

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •