public class SimpleXdChunkListener extends BatchJobListener<ChunkContextInfo> implements org.springframework.batch.core.ChunkListener
Constructor and Description |
---|
SimpleXdChunkListener(org.springframework.messaging.SubscribableChannel chunkEventsChannel,
org.springframework.messaging.SubscribableChannel aggregatedEventsChannel) |
Modifier and Type | Method and Description |
---|---|
void |
afterChunk(org.springframework.batch.core.scope.context.ChunkContext context) |
void |
afterChunkError(org.springframework.batch.core.scope.context.ChunkContext context) |
void |
beforeChunk(org.springframework.batch.core.scope.context.ChunkContext context) |
publish, publishWithThrowableHeader
public SimpleXdChunkListener(org.springframework.messaging.SubscribableChannel chunkEventsChannel, org.springframework.messaging.SubscribableChannel aggregatedEventsChannel)
public void afterChunk(org.springframework.batch.core.scope.context.ChunkContext context)
afterChunk
in interface org.springframework.batch.core.ChunkListener
public void beforeChunk(org.springframework.batch.core.scope.context.ChunkContext context)
beforeChunk
in interface org.springframework.batch.core.ChunkListener
public void afterChunkError(org.springframework.batch.core.scope.context.ChunkContext context)
afterChunkError
in interface org.springframework.batch.core.ChunkListener