- All Implemented Interfaces:
- org.springframework.batch.core.ItemWriteListener, org.springframework.batch.core.StepListener
public class EventEmittingItemWriteListener
extends Object
implements org.springframework.batch.core.ItemWriteListener
Setups up the ItemWriteEventsListener to emit events to the spring cloud stream output channel.
Each method provides an informational message.
ItemWriteListener.onWriteError(Exception, List)
provides a message as well as
the exception's message via the BatchJobHeaders.BATCH_EXCEPTION
message header.
- Author:
- Glenn Renfro