ConfigFactory.load() loads the following (first listed are higher priority):
system properties
application.conf (all resources on classpath with this name)
application.json (all resources on classpath with this name)
application.properties (all resources on classpath with this name)
reference.conf (all resources on classpath with this name)
From inside an actor, you can retrieve the config with
Convenience methods and implicit wrappers for working with com.typesafe.config.Config
https://github.com/typesafehub/config
ConfigFactory.load() loads the following (first listed are higher priority):
system properties application.conf (all resources on classpath with this name) application.json (all resources on classpath with this name) application.properties (all resources on classpath with this name) reference.conf (all resources on classpath with this name)
From inside an actor, you can retrieve the config with
val config = context.system.settings.config