mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0@412773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f6cd2c8a8
commit
6cb4828e51
|
@ -18,6 +18,7 @@ package org.apache.activemq.store.journal;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -134,7 +135,7 @@ public class JournalPersistenceAdapter implements PersistenceAdapter, JournalEve
|
|||
}
|
||||
|
||||
public Set getDestinations() {
|
||||
Set destinations = longTermPersistence.getDestinations();
|
||||
Set destinations = new HashSet(longTermPersistence.getDestinations());
|
||||
destinations.addAll(queues.keySet());
|
||||
destinations.addAll(topics.keySet());
|
||||
return destinations;
|
||||
|
|
Loading…
Reference in New Issue