Skip to content

Instantly share code, notes, and snippets.

@bantonsson
Last active December 18, 2015 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bantonsson/5813050 to your computer and use it in GitHub Desktop.
Save bantonsson/5813050 to your computer and use it in GitHub Desktop.
Akka 2.2 Spotlight Mailbox Configuration
Akka 2.2 Spotlight Mailbox Configuration
bounded-mailbox {
mailbox-type = "akka.dispatch.BoundedMailbox"
mailbox-capacity = 1000
mailbox-push-timeout-time = 10s
}
akka.actor.deployment {
/bounded-mailbox-actor {
mailbox = bounded-mailbox
}
}
system.actorOf(Props[SomeActor], "bounded-mailbox-actor")
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