mirror of https://github.com/apache/activemq.git
clear batch entry if no more messages in the container
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@491090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cd687e389c
commit
8bc7f8636c
|
@ -121,6 +121,9 @@ public class KahaMessageStore implements MessageStore, UsageListener{
|
|||
}
|
||||
}
|
||||
}
|
||||
if (messageContainer.isEmpty()) {
|
||||
batchEntry = null;
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void recover(MessageRecoveryListener listener) throws Exception{
|
||||
|
|
Loading…
Reference in New Issue