I'm trying to use multi kaha db adapter to manage store space (see Managing persistent store space <http://activemq.2283324.n4.nabble.com/Managing-persistent-store-space-td4685913.html> ), but I have no luck using wildcards!
mKahaDB http://activemq.apache.org/kahadb.html claims "... you can use the mKahaDB persistence adapter and filter destinations using wildcards, just like with destination policy entries.", but it's not working for me. Am I misunderstanding queue name convenctions and activeMQ wildcards? If I use the exact queue name then it uses the other store, but if I try "Other*" or "Other>" it just uses the main store. I have even tried using the destinationPathSeparatorPlugin, as we use "_" in our queue names, but no luck any ideas? <destinationPathSeparatorPlugin pathSeparator="_"/> persistent adapter config: <bean id="mainStore" class="org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter" > <property name="journalMaxFileLength" value="3145728" /> <property name="checkpointInterval" value="5000" /> <property name="cleanupInterval" value="5000" /> <property name="directory" value="/opt/xyz/queues" /> </bean> <bean id="otherStore" class="org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter" > <property name="journalMaxFileLength" value="3145728" /> <property name="checkpointInterval" value="5000" /> <property name="cleanupInterval" value="5000" /> <property name="directory" value="/opt/xyz/queues/Other" /> </bean> <bean id="filteredMainStore" class="org.apache.activemq.store.kahadb.FilteredKahaDBPersistenceAdapter" > <property name="persistenceAdapter" ref="mainStore" /> </bean> <bean id="filteredOtherStore" class="org.apache.activemq.store.kahadb.FilteredKahaDBPersistenceAdapter" > <property name="persistenceAdapter" ref="otherStore" /> <property name="queue" value="Other*" /> </bean> <bean id="store" class="org.apache.activemq.store.kahadb.MultiKahaDBPersistenceAdapter" > <property name="directory" value="/opt/xyz/queues" /> <property name="filteredPersistenceAdapters"> <list> <ref bean="filteredOtherStore" /> <ref bean="filteredMainStore" /> </list> </property> </bean> -- View this message in context: http://activemq.2283324.n4.nabble.com/mKahaDB-and-the-use-of-wildcards-tp4686165.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.