root/trunk/config/bwbuild/jboss-postgresql/synch-config.xml

Revision 3315 (checked in by douglm, 2 years ago)

Possible to get a subscribe request out of bedework into the synch engine and see a subscription created.

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4        xsi:schemaLocation="http://www.springframework.org/schema/beans
5                 http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
6
7   <!-- =====================================================================
8        Synch engine configuration
9        ===================================================================== -->
10   <bean id="synchConfig"
11         class="org.bedework.synch.SynchConfig">
12     <!-- Size of synchling pool. This effectively limits the number of
13          concurrent threads processing synch actions  -->
14     <property name="synchlingPoolSize"
15               value="20" />
16        
17     <!-- timeout in millisecs for synchling pool. Processes waiting for a free 
18          synchling will timeout after this period and fail  -->
19     <property name="synchlingPoolTimeout"
20               value="5000" />
21        
22     <!-- callback. Comment out for no service. MUST end in "/" -->
23     <property name="callbackURI"
24               value="http://128.113.124.225:8080/synch/" />
25              
26     <!-- Path to keystore - comment out to use default. Used for ssl etc. -->         
27     <property name="keystore"
28               value="@APPSERVER-DATA-DIR@/synchcerts" />
29
30     <!-- Public/private key locations -->
31     <property name="privKeys"
32               value="@DATA_DIR@/privkeys" />
33     <property name="pubKeys"
34               value="@DATA_DIR@/pubkeys" />
35              
36     <property name="connectors">
37       <map>
38         <!-- manager is a special connector which provides a way of
39              communicating with the synch engine. There must always be
40              one, and only one, of this class. -->
41         <entry key="manager"
42                value="org.bedework.synch.SynchConnector" />
43
44         <!-- An exchange connector -->               
45         <entry key="exdemo"
46                value="org.bedework.synch.cnctrs.exchange.ExchangeConnector" />
47
48         <!-- A bedework connector -->               
49         <entry key="bwdemo"
50                value="org.bedework.synch.cnctrs.bedework.BedeworkConnector" />
51
52         <!-- A file connector -->               
53         <entry key="read-only-file"
54                value="org.bedework.synch.cnctrs.file.FileConnector" />
55       </map>
56     </property>
57   </bean>
58
59   <!-- The connector "exdemo" will load the following config -
60        the suffix "ExchangeConfig" is appended to the connector id -->
61   <bean id="exdemoExchangeConfig"
62         class="org.bedework.synch.cnctrs.exchange.ExchangeConnectorConfig">
63
64     <!-- location of the WSDL - modified to include server element
65          This corresponds to the wsdl deploy location defined in the
66          build properties file.
67     -->
68     <property name="exchangeWSDLURI"
69               value="http://localhost:8080/wsdls/exchange/Services.wsdl" />
70               <!--
71     <property name="props">
72       <props>
73         <prop key="x1">y1</prop>
74         <prop key="x2">y2</prop>
75       </props>
76     </property>
77      -->
78   </bean>
79  
80   <!-- The connector "bwdemo" will load the following config -
81        the suffix "BedeworkConfig" is appended to the connector id -->
82   <bean id="bwdemoBedeworkConfig"
83         class="org.bedework.synch.cnctrs.bedework.BedeworkConnectorConfig">
84
85     <!-- location of the WSDL for the remote web service
86          This corresponds to the wsdl deploy location defined in the
87          build properties file.
88     -->
89     <property name="bwWSDLURI"
90               value="http://localhost:8080/wsdls/synch/wssvc.wsdl" />
91              
92     <!-- seconds before retry on failure  -->
93     <property name="retryInterval"
94               value="10" />
95              
96     <!-- seconds before we ping just to say we're still around -->
97     <property name="keepAliveInterval"
98               value="60" />
99   </bean>
100  
101   <!-- The connector "read-only-file" will load the following config -
102        the suffix "FileConfig" is appended to the connector id -->
103   <bean id="read-only-fileFileConfig"
104         class="org.bedework.synch.cnctrs.file.FileConnectorConfig">
105     <property name="readOnly" value="true" />
106
107     <!-- seconds  -->
108     <property name="minPoll" value="15" />
109   </bean>
110 </beans>
Note: See TracBrowser for help on using the browser.