[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1844) Retry operations after an EJBTransactionRolledbackException

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Thu Jun 4 11:07:09 EDT 2009


Retry operations after an EJBTransactionRolledbackException
-----------------------------------------------------------

                 Key: EJBTHREE-1844
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1844
             Project: EJB 3.0
          Issue Type: Feature Request
          Components: transactions
            Reporter: Carlo de Wolf
            Assignee: Carlo de Wolf


By either annotating a bean or its methods, the applicable methods will retry the operation if an EJBTransactionRolledbackException occurs.
@TransactionRetry(numRetries=4, waitTime=1, waitTimeUnit=TimeUnit.SECONDS)

numRetries specifies how many times an operation will be tried.
waitTime specified the amount of time to wait before retrying with the unit of time specified in waitTimeUnit.

Default is 3 retries and 1000 milliseconds wait time after an EJBTransactionRolledbackException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list