I have an AKKA cluster system with name say ClusterSystem. Each node of this cluster have an actor ActorA. I want a way to broadcast a message sent to an actor to all the ActoraA-s running in the cluster.
It would be of great help if any one can post an example in Java.
There is an special type of message for this task. You can send a
Broadcast
message to a router and it will be received by all the routees.You can also create a BroadcastPool and BroadcastGroup in case that you need to broadcast every single message.
You can find more information about both options in this link.