[akka-user] Re: getting config back from getContext().system()

2015-06-02 Thread TS
Thanks, That works.

On Tuesday, June 2, 2015 at 9:17:43 AM UTC-7, Guido Medina wrote:
>
> I'm doing that from Java by calling the Scala API's, like this:
>
> context().system().settings().config()
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] Re: getting config back from getContext().system()

2015-06-02 Thread Guido Medina
I'm doing that from Java by calling the Scala API's, like this:

context().system().settings().config()

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] Re: getting config back from getContext().system()

2015-06-02 Thread Christian Kitzmueller
I'm not sure about the java interface, in scala you can use : 
system.settings.config

BR,
Christian


Am Dienstag, 2. Juni 2015 00:36:09 UTC+2 schrieb TS:
>
> ActorSystem.create takes a config during creation. Is there a way to get 
> it back from getContext().system() ? 
>
> I have some custom entries in application.conf and want to read them back 
>
> Thanks, TS
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.