Skip to content
Snippets Groups Projects
Commit 78504386 authored by Ludovic Claude's avatar Ludovic Claude
Browse files

Detailed logs for connection to Woken

parent 28ea4858
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ public abstract class WokenClientController {
@PostConstruct
public void initClusterClient() {
LOGGER.info("Start Woken client " + wokenReceptionistPath);
wokenClient = actorSystem.actorOf(ClusterClient.props(
ClusterClientSettings.create(actorSystem).withInitialContacts(initialContacts())),
"client-" + getClass().getSimpleName());
......
package eu.hbp.mip.configuration;
import akka.actor.ActorSystem;
import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationContext;
......@@ -32,7 +34,8 @@ class AkkaConfiguration {
@Bean
public ActorSystem actorSystem() {
ActorSystem system = ActorSystem.create("PortalBackend");
Config config = ConfigFactory.load("application.conf");
ActorSystem system = ActorSystem.create("PortalBackend", config);
SPRING_EXTENSION_PROVIDER.get(system).initialize(applicationContext);
return system;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment