symmetric.symmetric-ds.2.1.3.source-code.symmetric-properties.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symmetric-ds Show documentation
Show all versions of symmetric-ds Show documentation
SymmetricDS is an open source database synchronization solution. It is platform-independent,
web-enabled, and database-agnostic. SymmetricDS was first built to replicate changes between 'retail store'
databases and ad centralized 'corporate' database.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd" default-lazy-init="true"> <!-- The list of properties file names need to be singletons because we rely on System properties which can be swapped out at runtime. --> <bean id="dynamicPropertiesFiles" class="org.jumpmind.symmetric.config.DynamicPropertiesFiles"/> <bean id="symmetricProperties" class="org.jumpmind.symmetric.config.PropertiesFactoryBean"> <property name="singleton" value="false"/> <property name="ignoreResourceNotFound" value="true" /> <property name="dynamicPropertiesFiles" ref="dynamicPropertiesFiles"/> <!-- Allow for the (optional) override of these properties --> <property name="locations"> <list> <value>classpath:/symmetric-default.properties</value> <value>file:../conf/symmetric.properties</value> <value>classpath:/symmetric.properties</value> <value>classpath:/symmetric-override.properties</value> <value>file:${user.home}/.symmetric/symmetric-override.properties</value> <!-- dynamic properties files --> <!-- database configuration --> </list> </property> </bean> <bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="placeholderPrefix" value="$[sym."/> <property name="placeholderSuffix" value="]"/> <property name="properties" ref="symmetricProperties" /> <!-- This means that any system properties set on the command line will take precedence over those set locally or in a properties file. --> <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" /> </bean> </beans>