mirror of https://github.com/apache/activemq.git
AMQ-5875 - fix test regression in MultiKahaDBQueueDeletionTest
(cherry picked from commit 4c972d97b9
)
This commit is contained in:
parent
840c0c46d2
commit
77784061c5
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue