mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2985 - fix regression of DurableSubscriptionUnsubscribeTest, check for empty topic
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad6cb20044
commit
6eafe9327e
|
@ -892,7 +892,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter {
|
|||
ActiveMQDestination dest = convert(entry.getKey());
|
||||
if (dest.isTopic()) {
|
||||
StoredDestination loadedStore = getStoredDestination(convert(dest), tx);
|
||||
if (loadedStore.ackPositions.isEmpty(tx)) {
|
||||
if (loadedStore.subscriptionAcks.isEmpty(tx)) {
|
||||
isEmptyTopic = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue