Last active
January 20, 2016 03:53
-
-
Save skuenzli/6d90b1b878a1378ccdf4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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