Wednesday, 15 August 2012

scala - Sending a message to all actors within an ActorSystem -



scala - Sending a message to all actors within an ActorSystem -

is possible send message all actors in actor system? i've been looking @ broadcast router example, marginal can't comprehend how add together actors router dynamically.

we using scala akka.

thanks!

system.actorselection("/user/*") ! msg

selects children of guardian , sends them msg.

scala akka

No comments:

Post a Comment