Hi,

That looks alright. An alternative in some cases is to give the children
names and then lookup them with context.child.

Cheers,
Patrik


On Fri, Dec 13, 2013 at 6:41 PM, Yaroslav Klymko <[email protected]> wrote:

> Hi all,
>
> I want to have an Actor per each record from db.
> And supervisor will decide based on Id passed with message to which child
> actor forward the message.
> This<https://github.com/t3hnar/akkax/blob/master/src/main/scala/ua/t3hnar/akkax/routing/RoutingActor.scala>is
>  what I came-up to, wondering are there anything already implemented in
> akka for this?
>
> Best regards.
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to