Closed
Description
Wim Veldhuis opened BATCH-2651 and commented
The current implementation of ChunkMessageChannelItemWriter.waitForResults
will not read more than maxWaitTimeouts replies from the reply queue, even when there are more due to a larger throttle-limit.
This causes the job to get status failed, and the remaining replies are left ontouched on the reply queue. The next job will then read these replies, and complain about being them for the wrong job, forcing that job to fail as well.
Affects: 4.0.0.M4
Reference URL: https://stackoverflow.com/questions/47227650/remote-batch-job-does-not-read-all-responses-in-afterstep-method