public Map<String, Object> convertVirtualHostConfiguration(Configuration configuration)
{
LinkedHashMap<String,Object> convertedMap = new LinkedHashMap<String, Object>();
Configuration storeConfiguration = configuration.subset("store");
convertedMap.put(org.apache.qpid.server.model.VirtualHost.STORE_PATH, storeConfiguration.getString(MessageStoreConstants.ENVIRONMENT_PATH_PROPERTY));
convertedMap.put(MessageStoreConstants.OVERFULL_SIZE_ATTRIBUTE, storeConfiguration.getString(MessageStoreConstants.OVERFULL_SIZE_PROPERTY));
convertedMap.put(MessageStoreConstants.UNDERFULL_SIZE_ATTRIBUTE, storeConfiguration.getString(MessageStoreConstants.UNDERFULL_SIZE_PROPERTY));
convertedMap.put("haGroupName", configuration.getString("store.highAvailability.groupName"));
convertedMap.put("haNodeName", configuration.getString("store.highAvailability.nodeName"));
convertedMap.put("haNodeAddress", configuration.getString("store.highAvailability.nodeHostPort"));
convertedMap.put("haHelperAddress", configuration.getString("store.highAvailability.helperHostPort"));