AMQ-5875 - fix test regression in MultiKahaDBQueueDeletionTest

(cherry picked from commit 4c972d97b9)
This commit is contained in:
gtully 2018-05-31 10:20:53 +01:00
parent 840c0c46d2
commit 77784061c5
1 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ public class MultiKahaDBPersistenceAdapter extends LockableServiceSupport implem
if (adapter instanceof PersistenceAdapter && adapter.getDestinations().isEmpty()) {
adapter.removeQueueMessageStore(destination);
removeMessageStore(adapter, destination);
destinationMap.removeAll(destination);
destinationMap.remove(destination, adapter);
}
}
@ -321,7 +321,7 @@ public class MultiKahaDBPersistenceAdapter extends LockableServiceSupport implem
if (adapter instanceof PersistenceAdapter && adapter.getDestinations().isEmpty()) {
adapter.removeTopicMessageStore(destination);
removeMessageStore(adapter, destination);
destinationMap.removeAll(destination);
destinationMap.remove(destination, adapter);
}
}