diff --git a/akka-actor/src/main/scala/akka/actor/dsl/Inbox.scala b/akka-actor/src/main/scala/akka/actor/dsl/Inbox.scala index 604c0eb0d3..463d771dae 100644 --- a/akka-actor/src/main/scala/akka/actor/dsl/Inbox.scala +++ b/akka-actor/src/main/scala/akka/actor/dsl/Inbox.scala @@ -27,7 +27,7 @@ trait Inbox { this: ActorDSL.type ⇒ val DSLInboxQueueSize = config.getInt("inbox-size") val inboxNr = new AtomicInteger - val inboxProps = Props(classOf[InboxActor], DSLInboxQueueSize) + val inboxProps = Props(classOf[InboxActor], ActorDSL, DSLInboxQueueSize) def newReceiver: ActorRef = mkChild(inboxProps, "inbox-" + inboxNr.incrementAndGet) }