forked from zeroc-ice/ice-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication_with_template.xml
31 lines (24 loc) · 1.02 KB
/
application_with_template.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
<!-- Copyright (c) ZeroC, Inc. All rights reserved. -->
<icegrid>
<application name="Simple">
<server-template id="SimpleServer">
<parameter name="index"/>
<server id="SimpleServer-${index}" exe="java" activation="on-demand">
<option>-jar</option>
<option>build/libs/server.jar</option>
<adapter name="Hello" endpoints="tcp -h localhost">
<object identity="hello-${index}" type="::Demo::Hello" property="Identity"/>
</adapter>
<property name="IceMX.Metrics.Debug.GroupBy" value="id"/>
<property name="IceMX.Metrics.Debug.Disabled" value="1"/>
<property name="IceMX.Metrics.ByParent.GroupBy" value="parent"/>
<property name="IceMX.Metrics.ByParent.Disabled" value="1"/>
</server>
</server-template>
<node name="node1">
<server-instance template="SimpleServer" index="1"/>
<server-instance template="SimpleServer" index="2"/>
<server-instance template="SimpleServer" index="3"/>
</node>
</application>
</icegrid>