public class EventEmittingSkipListener extends Object implements org.springframework.batch.core.SkipListener, org.springframework.core.Ordered
BatchJobHeaders.BATCH_EXCEPTION message header for each method. For
SkipListener.onSkipInProcess(Object, Throwable) and
SkipListener.onSkipInWrite(Object, Throwable) the body of the message consists
of the item that caused the error.| Constructor and Description |
|---|
EventEmittingSkipListener(org.springframework.messaging.MessageChannel output) |
EventEmittingSkipListener(org.springframework.messaging.MessageChannel output,
int order) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onSkipInProcess(Object item,
Throwable t) |
void |
onSkipInRead(Throwable t) |
void |
onSkipInWrite(Object item,
Throwable t) |
public EventEmittingSkipListener(org.springframework.messaging.MessageChannel output)
public EventEmittingSkipListener(org.springframework.messaging.MessageChannel output,
int order)
public void onSkipInRead(Throwable t)
onSkipInRead in interface org.springframework.batch.core.SkipListenerpublic void onSkipInWrite(Object item, Throwable t)
onSkipInWrite in interface org.springframework.batch.core.SkipListenerpublic void onSkipInProcess(Object item, Throwable t)
onSkipInProcess in interface org.springframework.batch.core.SkipListenerpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2019 Pivotal Software, Inc.. All rights reserved.