Are you searching something like ?
case class ActorsFactory extends Actor {
case object V1
case object V2
def receive = {
case V1 => context.actorOf(...)
case V2 => context.actor(..)
}
}
Le mardi 27 juin 2017 07:36:58 UTC+2, sharanya a écrit :
>
> Hi
>
> I wanted to create child actor at runtime based on value which will taken
> from database or external source can some help me with an example
>
>
>
> Thank you
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> 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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.