replica-group element creates a virtual object adapter in order to provide replication and load balancing for a collection of object adapters. An
adapter element declares its membership in a group by identifying the desired replica group. The element may declare well-known objects that are available in all of the participating object adapters. A
replica-group element may contain a
load-balancing child element that specifies the load-balancing algorithm the registry should use when resolving locate requests. If not specified, the registry uses a random load balancing policy with the number of replicas set to 0.
This element may only appear as a child of an
The following attributes are supported:
Specifies the identifier of the replica group, which must be unique among all adapters and replica groups in the registry. This identifier can be used in indirect proxies in place of an adapter identifier.
Specifies the identifier of a replica group filter that performs custom load balancing.
|The proxy options to use for well-known object proxies declared with this replica group.||No|
An optional nested
description element provides free-form descriptive text.
Here is an example to demonstrate the use of this element:
In this example, the proxy
WellKnownObject is equivalent to the proxy