Configuring batch processor output files
By default, the batch processor writes output to the WriterChainedQueue.
You can define the content of the batch processor’s output files in the Writer.properties file and also configure the output file names.
- ChainedQueue
- The ChainedQueue property defines the writers that are used to
create the output messages. By default, this property is set as follows,
defining both a FailWriter to output failure messages and a SuccessWriter
to output success messages:
com.dwl.batchframework.queue.FailWriter;com.dwl.batchframework.queue.SuccessWriter
Tip: To have the output files record more details about successful messages, you can substitute SuccessResponseWriter instead of SuccessWriter by changing the ChainedQueue property as follows:com.dwl.batchframework.queue.FailWriter;com.dwl.batchframework.queue.SuccessResponseWriter
- com.dwl.batchframework.queue.SuccessWriter
- This property defines the output file name of the Success writer.
By default, this property is set to
batchLoadSuccess.out
. - com.dwl.batchframework.queue.FailWriter
- This property defines the output file name of the Fail writer.
By default, this property is set to
batchLoadFail.out
. - com.dwl.batchframework.queue.SuccessResponseWriter
- This property defines the output file name of the Success Response
writer. By default, this property is set to
batchLoadSuccessResponse.out
.