Browse files

Added doc note on routers and termination

  • Loading branch information...
1 parent 1f30be1 commit 99d22be04865628c5a75ab926a9da1f339003064 @bantonsson bantonsson committed Apr 25, 2012
Showing with 12 additions and 0 deletions.
  1. +6 −0 akka-docs/java/routing.rst
  2. +6 −0 akka-docs/scala/routing.rst
View
6 akka-docs/java/routing.rst
@@ -123,6 +123,12 @@ Another potentially useful approach is to give the router the same strategy as
its parent, which effectively treats all actors in the pool as if they were
direct children of their grand-parent instead.
+.. note::
+
+ If the child of a router terminates, the router will not automatically spawn
+ a new child. In the event that all children of a router have terminated the
+ router will terminate itself.
+
Router usage
^^^^^^^^^^^^
View
6 akka-docs/scala/routing.rst
@@ -124,6 +124,12 @@ Another potentially useful approach is to give the router the same strategy as
its parent, which effectively treats all actors in the pool as if they were
direct children of their grand-parent instead.
+.. note::
+
+ If the child of a router terminates, the router will not automatically spawn
+ a new child. In the event that all children of a router have terminated the
+ router will terminate itself.
+
Router usage
^^^^^^^^^^^^

0 comments on commit 99d22be

Please sign in to comment.