Load Balancer Configuration Fields

A load balancer is configured by specifying the receiver and router agents, and setting the destination

To configure the load balancer, use the CDD Load Balancer tab.

CDD Load Balancer Tab Properties
Property Notes
Pair Configuration
Name Name of the pair configured load balancer.
JMS Destination Destination used by the router and receiver agents.

Ensure that the destination has a default event configured.

Key Routing key used by the pair configuration.
Router Router agent class for the load balancer configuration.
Receiver Receiver agent class for the load balancer configuration.
Adhoc Configuration
Name Name of the adhoc load balancer.

When creating a load balancer using the catalog function createLoadBalancerTo, the name of the load balancer must be specified. For example,

Object loadBalancer = LoadBalancer.Router.createLoadBalancerTo("adhocLoadBalancerName");
Local Destination Destination used by the router and receiver agents.

In an adhoc configuration, a local channel with a local destination is used to communicate between the router and receiver agents.

Properties
transport Transport to enable communication between the receiver and the router. Typically, this happens through an internal TCP connection.

The default value is tcp.

hostname Hostname where the load balancer is configured.

The default value is localhost.

port Port number used by the specified transport.
Note: The transport, hostname, and port properties must be in lowercase.