~brian-thomason/+junk/ha-jdbc

« back to all changes in this revision

Viewing changes to test/ha-jdbc-test-database-cluster.xml

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:34:21 UTC
  • Revision ID: brian.thomason@canonical.com-20111220173421-p9jg95iq91jgdihh
Initial import

Show diffs side-by-side

added added

removed removed

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