Back to home page

Enduro/X

 
 

    


0001 <?xml version="1.0" ?>
0002 <endurox>
0003     <appconfig>
0004         <!-- ALL BELLOW ONES USES <sanity> periodical timer  -->
0005         <!-- Sanity check time, sec -->
0006         <sanity>1</sanity>
0007         <!-- If process have been state changed to other than dead, exit or not running
0008         but PID of program does not exists in system, then send internel message, then 
0009         program have been stopped.
0010         In Seconds.
0011         -->
0012         <checkpm>5</checkpm>
0013         <!--  <sanity> timer, end -->
0014         <!-- ALL BELLOW ONES USES <respawn> periodical timer  -->
0015         <!-- Do process reset after 1 sec -->
0016         <restart_min>1</restart_min>
0017         <!-- If restart fails, then boot after +5 sec of previous wait time -->
0018         <restart_step>10</restart_step>
0019         <!-- If still not started, then max boot time is a 30 sec. -->
0020         <restart_max>30</restart_max>
0021         <!--  <sanity> timer, end -->
0022 
0023         <!-- Time after attach when program will start do sanity & respawn checks,
0024         starts counting after configuration load -->
0025         <restart_to_check>20</restart_to_check>
0026         <!-- Send full service table every 5 seconds -->
0027         <brrefresh>5</brrefresh>
0028     </appconfig>
0029     <defaults>
0030         <min>1</min>
0031         <max>1</max>
0032         <autokill>1</autokill>
0033         <!-- Do not need respawning! -->
0034         <respawn>1</respawn>
0035         <!-- The maximum time while process can hang in 'starting' state i.e.
0036         have not completed initialisation, sec -->
0037         <start_max>20</start_max>
0038         <!--
0039         Ping server in every X sanity units
0040         -->
0041         <pingtime>9</pingtime>
0042         <!--
0043         Max number of sanity units in which server must respond.
0044         The granularity is sanity time.
0045         -->
0046         <ping_max>40</ping_max>
0047         <!--
0048         Max time to wait until process should exit on shutdown
0049         -->
0050         <end_max>30</end_max>
0051         <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0052         to process until it have been terminated. -->
0053         <killtime>20</killtime>
0054     </defaults>
0055     <servers>
0056     </servers>
0057 
0058     <services>
0059         <service svcnm="SERVICE1" prio="50" autotran="Y" trantime="600" />
0060     </services>
0061     
0062     <routing>
0063     <route routing="RT1">
0064         <field>T_STRING_2_FLD</field>
0065         <ranges>
0066         MIN-'A':DOM1
0067         ,CC - 'FF' :DOM2
0068         ,'MAX':DOM3
0069         ,'N'-MAX:*
0070         ,*:DOM4
0071         </ranges>
0072         <buftype>UBF</buftype>
0073     </route>
0074     
0075     
0076     <route routing="RT2">
0077         <field>T_STRING_2_FLD</field>
0078         <ranges>
0079         MIN-'A':DOM1
0080         ,CC - 'FF' :DOM2
0081         ,'MAX':DOM3
0082         ,'N'-MAX:*
0083         ,*:DOM4
0084         </ranges>
0085         <buftype>UBF</buftype>
0086     </route>
0087     
0088     <route routing="RT3">
0089         <field>T_STRING_2_FLD</field>
0090         <ranges>
0091         MIN-'A':DOM1
0092         ,CC - 'FF' :DOM2
0093         ,'MAX':DOM3
0094         ,'N'-MAX:*
0095         ,*:DOM4
0096         </ranges>
0097         <buftype>UBF</buftype>
0098     </route>
0099     
0100     <route routing="RT4">
0101         <field>T_STRING_2_FLD</field>
0102         <ranges>
0103         MIN-'A':DOM1
0104         ,CC - 'FF' :DOM2
0105         ,'MAX':DOM3
0106         ,'N'-MAX:*
0107         ,*:DOM4
0108         </ranges>
0109         <buftype>UBF</buftype>
0110     </route>
0111     
0112     <route routing="RT5">
0113         <field>T_STRING_2_FLD</field>
0114         <ranges>
0115         MIN-'A':DOM1
0116         ,CC - 'FF' :DOM2
0117         ,'MAX':DOM3
0118         ,'N'-MAX:*
0119         ,*:DOM4
0120         </ranges>
0121         <buftype>UBF</buftype>
0122     </route>
0123     
0124     </routing>
0125     
0126 </endurox>
0127