All Downloads are FREE. Search and download functionalities are using the official Maven repository.

symmetric.symmetric-ds.2.1.3.source-code.symmetric-routers.xml Maven / Gradle / Ivy

Go to download

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">

	<util:map id="routers">
		<entry key="default">
			<bean class="org.jumpmind.symmetric.route.DefaultDataRouter">
			</bean>
		</entry>	
		<entry key="column">
			<bean class="org.jumpmind.symmetric.route.ColumnMatchDataRouter">
                <property name="registrationService" ref="registrationService" />
            </bean>
		</entry>
		<entry key="lookuptable">
			<bean class="org.jumpmind.symmetric.route.LookupTableDataRouter">
                <property name="jdbcTemplate" ref="jdbcTemplate" />
            </bean>
		</entry>  				  		
		<entry key="subselect">
			<bean class="org.jumpmind.symmetric.route.SubSelectDataRouter">
				<property name="sql"
					value="select c.node_id from $[sym.sync.table.prefix]_node c where c.node_group_id=:NODE_GROUP_ID and c.sync_enabled=1 and " />
				<property name="jdbcTemplate" ref="jdbcTemplate" />
				<property name="dbDialect" ref="dbDialect" />
			</bean>
		</entry>
        <entry key="bsh">
            <bean class="org.jumpmind.symmetric.route.BshDataRouter">
                <property name="dbDialect" ref="dbDialect" />
            </bean>
        </entry>
        <entry key="trigger">
            <bean class="org.jumpmind.symmetric.route.TriggerDataRouter"/>
        </entry>                    
	</util:map>

	<util:map id="batchAlgorithms">
		<entry key="default">
			<bean class="org.jumpmind.symmetric.route.DefaultBatchAlgorithm" />
		</entry>
		<entry key="transactional">
			<bean class="org.jumpmind.symmetric.route.TransactionalBatchAlgorithm" />
		</entry>
		<entry key="nontransactional">
			<bean class="org.jumpmind.symmetric.route.NonTransactionalBatchAlgorithm" />
		</entry>		
	</util:map>

</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy