From fcc3bc2e1808cd3e449b4337203756abb7a3339d Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Thu, 17 May 2012 17:26:04 +0000 Subject: QPID-4006: add support for using BDB HA to form an active-passive cluster for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean , Oleksandr Rudyy , Philip Harvey , and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339728 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/java/org/apache/qpid/test/utils/QpidTestCase.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'java/common') diff --git a/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java b/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java index cbf6caf141..8a14466aeb 100644 --- a/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java +++ b/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java @@ -110,8 +110,8 @@ public class QpidTestCase extends TestCase } } - protected static final String MS_FACTORY_CLASS_NAME_KEY = "messagestorefactory.class.name"; - protected static final String MEMORY_STORE_FACTORY_CLASS_NAME = "org.apache.qpid.server.store.MemoryMessageStoreFactory"; + protected static final String MESSAGE_STORE_CLASS_NAME_KEY = "messagestore.class.name"; + protected static final String MEMORY_STORE_CLASS_NAME = "org.apache.qpid.server.store.MemoryMessageStore"; private static List _exclusionList; @@ -140,12 +140,12 @@ public class QpidTestCase extends TestCase } } - public String getTestProfileMessageStoreFactoryClassName() + public String getTestProfileMessageStoreClassName() { - final String storeFactoryClass = System.getProperty(MS_FACTORY_CLASS_NAME_KEY); - _logger.debug("MS_FACTORY_CLASS_NAME_KEY " + storeFactoryClass); + final String storeClass = System.getProperty(MESSAGE_STORE_CLASS_NAME_KEY); + _logger.debug("MESSAGE_STORE_CLASS_NAME_KEY " + storeClass); - return storeFactoryClass != null ? storeFactoryClass : MEMORY_STORE_FACTORY_CLASS_NAME ; + return storeClass != null ? storeClass : MEMORY_STORE_CLASS_NAME ; } -- cgit v1.2.1