摘要 |
An apparatus for processing a batched unit of work associated with a plurality of messages, for use with a data store for storing: a backout count associated with a number of instances that work associated with the batched unit of work is backed out; a backout threshold associated with the backout count; and a commit count associated with committing the batched unit of work in response to successful commits for a predefined number of the plurality of messages, the apparatus comprising: a checker for checking whether the backout count is greater than zero and less than the backout threshold; and an override component, responsive to the backout count being greater than zero and less than the backout threshold, for overriding the commit count and committing the batched unit of work for a subset of the plurality of messages.
|