Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1293

Conditional Client Failover based on container or bean thrown Exception types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.3
    • server
    • None

    Description

      Calling org.apache.openejb.client.Client.addRetryCondition(MyException.class) allows the addition of either standard or custom exception classes to be seen as failures which should result in failover and the request retried on a different server. A concrete example might be javax.ejb.ConcurrentAccessTimeoutException, which indicates the bean itself is busy and cannot be accessed. Or in the case of @Stateless beans indicates the pool itself is drained and all instances are in use.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: