OpenEJB
  1. OpenEJB
  2. OPENEJB-1281

Preconfigured failover with JNDI provider url such as "failover:ejbd://foo:4201,ejbd://bar:4201"

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: server
    • Labels:
      None

      Description

      From the javadoc:

      • This factory supports the following URI format
        *
      • failover:[strategy:]urlList
        *
      • Where strategy and urlList are variables
        *
      • strategy = the ConnectionStrategy name, such as "sticky", "round-robin",
      • or "random". This parameter is optional.
        *
      • urlList = a comma separated list connection URIs. There must be a
      • ConnectionFactory installed for the associated URI.
        *
      • Some examples might be:
        *
      • - failover:ejbd://foo:4201,ejbd://bar:4201
      • - failover:random:ejbd://foo:4201,ejbd://bar:4201
      • - failover:round-robin:ejbd://foo:4201,ejbds://bar:4201,multicast://239.255.2.3:6142
        *
      • The final URI being the most clever in that it will sequentially go
      • through the list, first attempting a couple hard-coded addresses before
      • finally resorting to multicast in an attempt to discover a server.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            David Blevins
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development