Fix for the following exception that could occur:
java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(AbstractCollection.java:216)
at java.util.AbstractCollection.addAll(AbstractCollection.java:318)
at org.apache.activemq.store.journal.JournalPersistenceAdapter.getDestinations(JournalPersistenceAdapter.java:139) at org.apache.activemq.broker.region.AbstractRegion.getInactiveDestinations(AbstractRegion.java:193)
at org.apache.activemq.broker.region.TopicRegion.getInactiveDestinations(TopicRegion.java:254)
at org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:157)
at org.apache.activemq.broker.region.TopicRegion.addConsumer(TopicRegion.java:113)
|