~brian-thomason/+junk/ha-jdbc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<!--
 HA-JDBC: High-Availability JDBC
 Copyright (c) 2004-2007 Paul Ferraro
 
 This library is free software; you can redistribute it and/or modify it 
 under the terms of the GNU Lesser General Public License as published by the 
 Free Software Foundation; either version 2.1 of the License, or (at your 
 option) any later version.
 
 This library is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 
 for more details.
 
 You should have received a copy of the GNU Lesser General Public License
 along with this library; if not, write to the Free Software Foundation, 
 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 Contact: ferraro@users.sourceforge.net
-->
<!--DOCTYPE ha-jdbc SYSTEM "../doc/src/content/xdocs/dtd/ha-jdbc-2.0.dtd"-->
<!--ha-jdbc xmlns="http://ha-jdbc.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ha-jdbc.sourceforge.net ../doc/src/content/xdocs/xsd/ha-jdbc-2.0.xsd"-->
<ha-jdbc>
	<sync id="passive" class="net.sf.hajdbc.sync.PassiveSynchronizationStrategy"></sync>
	<cluster balancer="simple" default-sync="passive" meta-data-cache="none" transaction-mode="parallel">
		<database id="database1" weight="1">
			<driver>net.sf.hajdbc.sql.MockDriver</driver>
			<url>jdbc:mock:database1</url>
		</database>
		<database id="database2" weight="2">
			<driver>net.sf.hajdbc.sql.MockDriver</driver>
			<url>jdbc:mock:database2</url>
		</database>
	</cluster>
</ha-jdbc>