fixed instamtiation error of InboxActor in actor.dsl.Inbox

This commit is contained in:
Dario Rexin 2013-04-26 22:36:57 +02:00
parent b0c5f231ed
commit bf57d6c55b

View file

@ -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)
}