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@491092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8bc7f8636c
commit
3d0191e29e
|
@ -122,7 +122,7 @@ public class KahaMessageStore implements MessageStore, UsageListener{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (messageContainer.isEmpty()) {
|
if (messageContainer.isEmpty()) {
|
||||||
batchEntry = null;
|
resetBatching();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -216,6 +216,9 @@ public class RapidMessageStore implements MessageStore, UsageListener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (messageContainer.isEmpty()) {
|
||||||
|
resetBatching();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void replayRemoveMessage(ConnectionContext context, MessageAck ack) {
|
public void replayRemoveMessage(ConnectionContext context, MessageAck ack) {
|
||||||
|
|
Loading…
Reference in New Issue