mattrpav commented on code in PR #1258:
URL: https://github.com/apache/activemq/pull/1258#discussion_r1678023094


##########
activemq-broker/src/main/java/org/apache/activemq/store/memory/MemoryMessageStore.java:
##########
@@ -130,6 +130,32 @@ public void recoverNextMessages(int maxReturned, 
MessageRecoveryListener listene
         }
     }
 
+    @Override
+    public void recoverNextMessages(int offset, int maxReturned, 
MessageRecoveryListener listener) throws Exception {
+        synchronized (messageTable) {
+            boolean pastLackBatch = lastBatchId == null;

Review Comment:
   Misnamed variable aligns other method usage



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to