There is simple actor API like actorRef ! Message
Sometimes I need to pass same message to a set of actors. Is there any way better way than enlist it some collection to iterate over with unicast?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your message is immutable, then just create it, then send it to multiple recipients.
Also, for Akka 2.0 you can use path selectors to do exactly that under the hood: actorSelection