LoadBalancer.Router.send()

Signature

void send(Object loadBalancer, SimpleEvent event, String routingKey)

Domain

ACTION

Description

Sends an event to a remote receiver. The routing decision is made using the routing key.

Parameters

NameTypeDescription
loadBalancerObject The opaque handle to the loadbalancer that was created in the createLoadBalancerTo(String, String) call.
eventSimpleEventThe event to send the message to.
routingKeyStringThe key that will be used to choose a receiver. If the topology has not changed, then messages with the same key sent from any sender will be received by the same receiver.

Returns

TypeDescription
void

Cautions

none