Hi
Thank you for ur response
Appologies i did mention that am looking for example using java Can u pls
tell me below am doing something below is correct
List<BusinessID> businessID ;/where we are get List of BusinessEnity from
Mongodb
for (BusinessEntity business : businessEntities) {
ActorRef businessEntity =
getContext().actorOf(Props.create(BusinessEntityActor.class));
businessEntity.tell(business, getSelf());
}
Thank you
On Tuesday, June 27, 2017 at 4:42:15 AM UTC-7, Kilic Ali-Firat wrote:
>
> 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.