/
relay1.xml
40 lines (34 loc) · 1.16 KB
/
relay1.xml
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
37
38
39
<?xml version='1.0' encoding='UTF-8'?>
<!--
Sample configuration of multiple sites, to be used in RELAY2
****
**** Note that the schema is still work-in-progress and might change between 3.2 and 3.3, as
**** we're trying to simplify it
****
-->
<RelayConfiguration xmlns="urn:jgroups:relay:1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jgroups:relay:1.0 relay.xsd">
<sites>
<site name="lon">
<bridges>
<bridge config="lon-nyc.xml" name="lon-nyc"/>
<bridge config="lon-sfo.xml" name="lon-sfo"/>
</bridges>
<forwards>
<forward to="lax" gateway="sfo"/>
</forwards>
</site>
<site name="nyc">
<bridges>
<bridge name="lon-nyc" config="lon-nyc.xml"/>
<bridge name="nyc-sfo" config="nyc-sfo.xml"/>
</bridges>
</site>
<site name="sfo">
<bridges>
<bridge name="lon-sfo" config="lon-sfo.xml"/>
</bridges>
</site>
</sites>
</RelayConfiguration>