What is an item writer?

The item writer is used by the item job to load every processed item.

It can be any class implementing ItemWriterInterface.

What types of item writers exists?

Built-in item writers:

Item writers from bridges:

Item writers for testing purpose:

  • InMemoryWriter: write in a private var which can be accessed afterward in your tests.

  • TestDebugWriter: dummy item writer that you can use in your unit tests.