akka/akka — pull request #1746 by patriknw (2013-09-23 09:00:12+00:00)
Title: !act,rem,clu #3549 Simplify and enhance routers

* Separate routing logic, to be usable stand alone, e.g. in actors
* Simplify RouterConfig, only a factory
* Move reading of config from Deployer to the RouterConfig
* Distiction between Pool and Nozzle router types
* Remove usage of actorFor, use ActorSelection
* Management messages to add and remove routees
* Simplify the internals of RoutedActorCell & co
* Move resize specific code to separate RoutedActorCell subclass
* Change resizer api to only return capacity change
* Resizer only allowed together with Pool

The classes in `routing2` packages will of course be moved to `routing`.
For backwards compatibility I want to remove all SPI of how to create custom routers, but the user API will be compatible (deprecation phase for some things).