Skip to content

Instantly share code, notes, and snippets.

@skuenzli
Last active January 20, 2016 03:53
Show Gist options
  • Save skuenzli/6d90b1b878a1378ccdf4 to your computer and use it in GitHub Desktop.
Save skuenzli/6d90b1b878a1378ccdf4 to your computer and use it in GitHub Desktop.
@Bean
public ActorSystem actorSystem() {
ActorSystem system = ActorSystem.create("actor-system");
// initialize the application context in the Akka Spring Extension
SpringExtProvider.get(system).initialize(applicationContext);
return system;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment