Hi,
In reference to #135
Problem for live-lock still exists for version 1.0.1.RELEASE
I have tested it using your test case "testBatchAck" with ContainerProperties:
containerProps.setSyncCommits(true);
containerProps.setAckMode(AckMode.BATCH);
containerProps.setPollTimeout(10000);
containerProps.setAckOnError(false);
As abbadon123 already suggested the simple fix would be to add:
catch (WakeupException e) {
if (!this.autoCommit) {
processCommits();
}
this.unsent = checkPause(this.unsent);
}
Regards