Hi Roger,

On Mon, Feb 24, 2014 at 11:37 AM, Akka Team <akka.offic...@gmail.com> wrote:

> Hi Roger,
>
>
> On Sat, Feb 22, 2014 at 8:10 AM, Roger Alsing <rogerals...@gmail.com>wrote:
>
>> Is there a reason why there is no WithSupervisorStrategy on Props? (
>> Is it because Scala can override the supervisorStrategy method inline
>> when using actorOf?
>> Or are there other ways to reuse a supervisorstrategy for multiple actors?
>>
>
> Because the supervisor strategy is the parent's responsibility not the
> child's.
>

I think I misunderstood what you wanted: to define the actor's supervisor
strategy not its parent's. The problem with that one is that the logic of
the actor might depend on the particular supervisor strategy it declares so
it is usually dangerous to redefine it from the outside.

-Endre


>
>
>>
>> And when adding routees to a router, there was a now depricated way to
>> add ActorRefs directly.
>> This is now replaced in favor for a list of path strings.
>> Why is this? does it have to do with actorrefs and UID ?
>>
>
> Now it is clearly separated who manages the routees: either the router
> itself (pool) or it is managed externally (group). You can now also reuse
> existing routing logic to create your custom routers if the prepackaged
> ones do not meet your requirements:
> http://doc.akka.io/docs/akka/2.3.0-RC4/scala/routing.html#Custom_Router
>
> -Endre
>
>
>>
>>
>>  --
>> >>>>>>>>>> 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 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/groups/opt_out.
>>
>
>
>
> --
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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 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/groups/opt_out.

Reply via email to