2.2 Spotlight: Mailbox Configuration

Actor mailboxes can now be configured on a per actor basis independently from the dispatcher. Here is an example that defines a bounded mailbox configuration and an actor deployment in your application.conf:

Then you can easily use that actor deployment configuration like this:

or simply configure the mailbox directly on the Props like this:

Read more in the Akka mailbox documentation

Recent comments

Blog comments powered by Disqus