Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1844

Retry operations after an EJBTransactionRolledbackException

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • transactions
    • None

      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.

              rhn-engineering-cdewolf Carlo de Wolf
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: