Fixing wording in use of BalancingDispatcher as routerDispatcher

This commit is contained in:
Viktor Klang 2012-05-27 23:43:05 +02:00
parent 04ba2cf490
commit c7a4aa5163

View file

@ -33,7 +33,7 @@ private[akka] class RoutedActorRef(_system: ActorSystemImpl, _props: Props, _sup
if (_props.routerConfig != NoRouter && _system.dispatchers.isBalancingDispatcher(_props.routerConfig.routerDispatcher)) if (_props.routerConfig != NoRouter && _system.dispatchers.isBalancingDispatcher(_props.routerConfig.routerDispatcher))
throw new ConfigurationException( throw new ConfigurationException(
"Configuration for actor [" + _path.toString + "Configuration for actor [" + _path.toString +
"] is invalid - you can not use a 'BalancingDispatcher' together with any type of 'Router'") "] is invalid - you can not use a 'BalancingDispatcher' as a Router's dispatcher, you can however use it for the routees.")
/* /*
* CAUTION: RoutedActorRef is PROBLEMATIC * CAUTION: RoutedActorRef is PROBLEMATIC