example router config file
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 21 Jul 2005 21:51:37 +0000 (21:51 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 21 Jul 2005 21:51:37 +0000 (21:51 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@412 9efc2488-bf62-4759-914b-345cdb29e865

src/router/router_config.xml.example [new file with mode: 0644]

diff --git a/src/router/router_config.xml.example b/src/router/router_config.xml.example
new file mode 100644 (file)
index 0000000..c4c11e7
--- /dev/null
@@ -0,0 +1,45 @@
+<router>
+
+       <component>0</component> <!-- leave disabled for now -->
+
+       <trusted_domains>
+
+               <!-- 
+                       Trusted servers are allowed to register apps with the router 
+               -->
+               <server1>server1.domain.com</server1>
+               <server2>server2.domain.com</server2>
+
+               <!--
+                       Trusted clients are allowed to send queries to the router
+               -->
+               <client1>client1.domain.com</client1>
+               <client2>client2.domain.com</client2>
+
+       </trusted_domains>
+
+       <transport>
+               <server>jabber_server.domain.com</server>
+               <port>5222</port>
+               <username>router</username>
+               <password>my_password</password>
+               <resource>router</resource>
+               <connect_timeout>10</connect_timeout>
+               <max_reconnect_attempts>5</max_reconnect_attempts>
+       </transport>
+
+       <log>
+               <file>/pines/log/router.log</file>
+
+               <!--    
+                       0 No logging
+                       1 Error logging
+                       2 Warning
+                       3 Info 
+                       4 debug
+               -->
+               <level>4</level>
+       </log>
+
+
+</router>