include system.settings when constructing MailboxType, see #1864
- necessary to not have to construct one Settings object per MessageQueue - added system.settings to DispatcherPrerequisites
This commit is contained in:
parent
abd7fb40ca
commit
eaee16c7d3
22 changed files with 61 additions and 47 deletions
|
|
@ -124,7 +124,7 @@ public class DispatcherDocTestBase {
|
|||
|
||||
//#prio-mailbox
|
||||
public static class PrioMailbox extends UnboundedPriorityMailbox {
|
||||
public PrioMailbox(Config config) { // needed for reflective instantiation
|
||||
public PrioMailbox(ActorSystem.Settings settings, Config config) { // needed for reflective instantiation
|
||||
super(new PriorityGenerator() { // Create a new PriorityGenerator, lower prio means more important
|
||||
@Override
|
||||
public int gen(Object message) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue