05-31-2007 04:41 PM
06-01-2007 02:44 PM
06-07-2007 10:48 AM
06-07-2007 05:55 PM
06-07-2007 07:05 PM
06-07-2007 07:45 PM
<beans>
<bean id="alternateContentStore"
class="org.alfresco.repo.content.filestore.FileContentStore">
<constructor-arg>
<value>/export/home/portal/shared/store_b/alfresco_data</value>
</constructor-arg>
</bean>
<bean id="replicatingContentStore"
class="org.alfresco.repo.content.replication.ReplicatingContentStore" >
<!– the preferred store for reads and writes –>
<property name="primaryStore">
<ref bean="fileContentStore" />
</property>
<!– example of possible secondary store configuration –>
<property name="secondaryStores">
<list>
<ref bean="alternateContentStore" />
</list>
</property>
<!– enable content missing from the primary store to be pulled in from the secondary stores –>
<property name="inbound">
<value>false</value>
</property>
<!– enable replication from the primary to the secondary stores –>
<property name="outbound">
<value>false</value>
</property>
<!– this is required if outbound replication is active, otherwise not –>
<property name="transactionService">
<ref bean="transactionComponent" />
</property>
<property name="retryingTransactionHelper">
<ref bean="retryingTransactionHelper"/>
</property>
<!– set this to force outbound replication to be asynchronous –>
<property name="outboundThreadPoolExecutor">
<ref bean="threadPoolExecutor" />
</property>
</bean>
</beans>
06-08-2007 06:52 PM
<bean id="alternateContentStore"
class="org.alfresco.repo.content.filestore.FileContentStore">
<constructor-arg>
<value>/export/home/portal/shared/10.0.4.25/alfresco_data/contentstore</value>
</constructor-arg>
</bean>
<bean id="contentStoreReplicator"
class="org.alfresco.repo.content.replication.ContentStoreReplicator"
depends-on="fileContentStore, alternateContentStore" >
<property name="sourceStore">
<ref bean="fileContentStore" />
</property>
<property name="targetStore">
<ref bean="alternateContentStore" />
</property>
</bean>
<bean id="contentStoreBackupTrigger" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass">
<value>org.alfresco.repo.content.replication.ContentStoreReplicator$ContentStoreReplicatorJob</value>
</property>
<property name="jobDataAsMap">
<map>
<entry key="contentStoreReplicator">
<ref bean="contentStoreReplicator" />
</entry>
</map>
</property>
</bean>
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<property name="cronExpression">
<!–<value>0 0 03 * * ?</value>–>
<value>0,10,20,30,40,50 * * * * ?</value>
</property>
</bean>
<bean id="replicatingContentStore"
class="org.alfresco.repo.content.replication.ReplicatingContentStore" >
<!– the preferred store for reads and writes –>
<property name="primaryStore">
<ref bean="fileContentStore" />
</property>
<!– example of possible secondary store configuration –>
<property name="secondaryStores">
<list>
<ref bean="alternateContentStore" />
</list>
</property>
<!– enable content missing from the primary store to be pulled in from the secondary stores –>
<property name="inbound">
<value>true</value>
</property>
<!– enable replication from the primary to the secondary stores –>
<property name="outbound">
<value>true</value>
</property>
<!– this is required if outbound replication is active, otherwise not –>
<property name="transactionService">
<ref bean="transactionComponent" />
</property>
<property name="retryingTransactionHelper">
<ref bean="retryingTransactionHelper"/>
</property>
<!– set this to force outbound replication to be asynchronous –>
<property name="outboundThreadPoolExecutor">
<ref bean="threadPoolExecutor" />
</property>
</bean>
07-10-2007 05:05 AM
07-13-2007 05:41 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.