Problem was that ActorSystem was not remote-enabled, because
ConfigFactory.load silently fallback to empty config if config resource
name is wrong.
Gabor
2016. augusztus 2., kedd 21:00:31 UTC+2 időpontban Gabor Kolok a következőt
írta:
>
> Hi,
>
> I am creating a router with the following code in an Actor:
>
> val router: ActorRef = {
> val addresses = Seq(
> Address("akka.tcp", "workersSystem", "localhost", 2555)
> )
> context.actorOf(
> RemoteRouterConfig(RoundRobinPool(1), addresses).props(Props[
> WorkerActor]))
> }
>
> The workers are created locally (in the same system where the parent Actor
> is created) without error message.
> It seems that addresses are ignored.
> What could be the problem?
>
> Thanks
> Gabor
>
>
>
>
--
>>>>>>>>>> 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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.