Last active
December 18, 2015 16:39
-
-
Save bantonsson/5813050 to your computer and use it in GitHub Desktop.
Akka 2.2 Spotlight Mailbox Configuration
This file contains hidden or 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
Akka 2.2 Spotlight Mailbox Configuration |
This file contains hidden or 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
bounded-mailbox { | |
mailbox-type = "akka.dispatch.BoundedMailbox" | |
mailbox-capacity = 1000 | |
mailbox-push-timeout-time = 10s | |
} | |
akka.actor.deployment { | |
/bounded-mailbox-actor { | |
mailbox = bounded-mailbox | |
} | |
} |
This file contains hidden or 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
system.actorOf(Props[SomeActor], "bounded-mailbox-actor") |
This file contains hidden or 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
system.actorOf(Props[SomeActor].withMailbox("bounded-mailbox")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment