-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
MessageBatch.isEmpty() and other methods have to iterate through the batch (until the first non-null message is found, or until index has been reached).
Adding and maintaining a size field to MessageBatch eliminates or reduces the number of iterations that have to be done.