Hi, There, I have been evaluating ActiveMQ for our new project for the past few weeks, and I cannot find a conclusive answer about exactly which persistence adapters can be used with a shared file system master/slave set up.
There seems to be some conflicting information out there, for example: 1) according to Bruce Snyder in this thread, http://markmail.org/message/ldjoyewy3jczcaai?q=shared+file+system++list:org.apache.activemq.users, it seems journaledJBDC can only be used with shared JDBC master/slave, but 2) the example in http://activemq.apache.org/shared-file-system-master-slave.html shows to use just the journaledJDBC adapter with shared file system master/slave; and 3), according to the same thread in 1), AMQ persistence should be used with shared file system master/slave. And what about kahaPersistenceAdapter, it is file based, but the above thread mentions http://activemq.apache.org/kahadb-master-slave.html, which uses zookeeper and is not supported. Finally, what is the different between kahaPersistenceAdapter in <kahaPersistenceAdapter dir="target/kaha-data"/> and just kaha in <kahaDB directory="activemq-data" journalMaxFileLength="32mb"/>. Are kahaPersistenceAdater and kahaDB the same thing? If kahaPersistenceAdapter cannot be used with shared file system JDBC, can kahaDB be used instead? Any clarification will be much appreciated. We load tested journaledJDBC with default derby data source and an Oracle data source, the performance were not satisfactory. Thanks. -Feng