For that I would spawn an actor that collects the responses from the "Do
something" tasks and when it has received expected responses it sends the
final signal and stops itself.

Regards,
Patrik

On Mon, Oct 19, 2015 at 11:26 AM, 张留成 <[email protected]> wrote:

> Hi All:
>
>
> What's the difference between dispatcher and route? when should i use
> dispatcher and when  to use route?
>
>
> <https://lh3.googleusercontent.com/-n2B5mEBhEA8/ViS2xsbtH0I/AAAAAAAAAHg/ZsSuoDOsrS4/s1600/fork-join.png>
>
>
> see the above image,if want to send a signal when all complete, show i use
> the dispatcher with fork-join-pool ?
>
>
>
> thanks!
>
> --
> >>>>>>>>>> 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 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 [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/d/optout.

Reply via email to