I am running some transactions using batch processor. I need to get the success response xml as part of batchLoadSuccess.out file.
Can anyone please let me know what configuration i need to change for the batchprocessor to return complete success response xml.
This topic has been locked.
6 replies Latest Post - 2013-10-18T02:00:29Z by reddipal
Pinned topic success response message in batch processor
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-09T02:49:21Z at 2013-01-09T02:49:21Z by SystemAdmin
NeerajRSingh 0600020R4G2 PostsACCEPTED ANSWER
Re: success response message in batch processor2012-12-19T09:01:49Z in response to SystemAdminPlease try this
Choose an alternative WriterQueue, available in BatchProcessor to get the request/response XMLs written to a file.
To get request /response XMLs, change WriterQueue property in Batch.properties as below
WriterQueue = com.dwl.batchframework.queue.FileWriterQueue
When using this WriterQueue, the batch processor invocation command is as below
runbatch.sh <inputFile> <outputFile> <other options>
where the outputFile is the file where request and response XMLs will be written.
Re: success response message in batch processor2012-12-21T10:34:40Z in response to NeerajRSinghThanks a million for that response. It solved my problem. But I do have a few things to figure out yet. :) I need this functionality only for one of the batch load run. For the rest of the runs i need the directory output. Trying to figure out how to do it.
NeerajRSingh 0600020R4G2 Posts
Re: success response message in batch processor2013-01-09T02:49:21Z in response to NeerajRSinghThanks Neeraj, could you please help a little more.
When I try the following command
sh runbatch.sh /appl/test/BatchProcessor/input/GetRecord.txt /appl/test/BatchProcessor/output/OutResp.txt /appl/test/BatchProcessor/properties/batch_extension.properties /appl/test/BatchProcessor/properties/Batch_FileWriter.properties
I get the error
java.util.MissingResourceException: Can't find bundle for base name /appl/test/BatchProcessor/properties/batch_extension.properties, locale en_US
Will you be able to help?