Skip to content
jacobgroundwater edited this page Feb 4, 2013 · 1 revision

Advanced routes can be created with broadcast and load-balanced routes.

Broadcast Routes

Packets to broadcast routes are sent to each address in the list.

{
  "regex": "key",
  "broadcast": ["axon://10.0.1.11", "axon://10.1.11.23"]
}

Each address must have an actor ready to respond to the incoming message.

Load Balanced Routes

{
  "regex": "key",
  "balance": ["axon://10.0.1.11", "axon://10.1.11.23"]
}

Balanced routes will pick a random address to send the packet to.

Clone this wiki locally