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:
Gary Tully 2010-11-24 11:30:49 +00:00
parent ad6cb20044
commit 6eafe9327e
1 changed files with 1 additions and 1 deletions

View File

@ -892,7 +892,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter {
ActiveMQDestination dest = convert(entry.getKey()); ActiveMQDestination dest = convert(entry.getKey());
if (dest.isTopic()) { if (dest.isTopic()) {
StoredDestination loadedStore = getStoredDestination(convert(dest), tx); StoredDestination loadedStore = getStoredDestination(convert(dest), tx);
if (loadedStore.ackPositions.isEmpty(tx)) { if (loadedStore.subscriptionAcks.isEmpty(tx)) {
isEmptyTopic = true; isEmptyTopic = true;
} }
} }