Hi Marek, In this case it is better to not rely on the name of the actor since it might depend on several things. Instead, you can specify a Deploy object on your Props directly (programmatically). See the docs for Deploy here: http://doc.akka.io/api/akka/2.3.13/#akka.actor.Deploy
Then you can use myProps.withDeploy(myDeploy) to install it on the Props itself. Unfortunately the code that parses a Deploy object from config is internal, otherwise you would be able to simply add a custom configuration section in your config for this deployment and parse it directly from there. -Endre On Sun, Sep 6, 2015 at 10:25 PM, Marek Kadek <[email protected]> wrote: > Hi, > > I would like to do pretty much something like this: > > http://doc.akka.io/docs/akka-stream-and-http-experimental/current/scala/stream-integrations.html#actorsubscriber > > that there is a ActorSubscriber, which has some children... I would like > to control deyploment of the children via external configuraiton (one > example could be a pool of workers...). > > akka.actor.deployment { > /?actor-sink-materialzied-name?/worker { > ... some cfg > } > } > > But since I do not know what will be the materialized name be, how would > one go about this ? > > Thanks > > > -- > >>>>>>>>>> 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. > -- Akka Team Typesafe - Reactive apps on the JVM Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> 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.
