Checkpoint: RetryingTransactionHelper, which executes a unit of work in a UserTransaction

with retries for transient failures.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-12-11 19:57:20 +00:00
parent f80dcdd7e4
commit b4d49c2c3c
3 changed files with 219 additions and 41 deletions

View File

@@ -148,6 +148,15 @@
<value>${server.transaction.allow-writes}</value>
</property>
</bean>
<bean id="retryingTransactionHelper" class="org.alfresco.repo.transaction.RetryingTransactionHelper">
<property name="transactionService">
<ref bean="transactionComponent"/>
</property>
<property name="maxRetries">
<value>10</value>
</property>
</bean>
<!-- -->
<!-- I18N -->