In the mean time I found that I was looking at a slightly older version of
the configuration (for 2.3-M1), and found the "BalancingPool" in the 2.3.0
docs.
However, using the following config:
actor.deployment {
/receiver {
router = round-robin-pool
nr-of-instances = 1
target.nodes = [ "akka.tcp://systemA@localhost:2553" ]
}
"/receiver/*/workerPool" {
router = balancing-pool
nr-of-instances = 4
}
}
and the following actor creation code in the "Receiver":
val workerPool = context.actorOf(FromConfig.props(Props[Worker]),
"workerPool")
I still get the first exception from my previous post:
> path parameter: Invalid path
> 'BalancingPool-/akka.tcp/systemB@localhost:61671/user/receiver/c1/workerPool':
>
> Token not allowed in path expression: '@' (Reserved character '@' is not
> allowed outside quotes) (you can double-quote this token if you really want
> it here)
Same error if I try to define it in code, rather than in config (having
removed the configuration entry for "/receiver/*/workerPool" shown above):
val workerPool = context.actorOf(
BalancingPool(4).props(Props[Worker]),
name = "workerPool"
)
The error:
> path parameter: Invalid path
>> 'BalancingPool-/akka.tcp/systemB@localhost:61705/user/receiver/c1/workerPool':
>>
>> Token not allowed in path expression: '@' (Reserved character '@' is not
>> allowed outside quotes) (you can double-quote this token if you really want
>> it here)
>
>
>
-Boris
--
>>>>>>>>>> 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.