Use the ActorRef. ActorSelection is mainly intended for initiating
communication between two remote actors, i.e. when you don't have an
ActorRef
.
/Patrik

On Thu, May 21, 2015 at 5:05 AM, Hareesh Jagannathan <harjag...@gmail.com>
wrote:

> I am new to Akka and I am bulding a Data ingestion system as a cluster
> akka system based on (Blancing worker node pattern)with many remote nodes.
> The remote nodes are called workers. Workers create chain of remote routers
> using the available workers.
>
> The parent(Worker) which creates routers will have a stats watcher actor
> who will get message from all routees of routers.
>
> The qn is : Is is good practise to pass statswatcher actorRef while
> creating routers as constructor argument of the router or just pass actor
> path of statswatcher as constructor argument and user actor selection in
> router to tell message.
>
> --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

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

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to