Support for more durable mailboxes

This commit is contained in:
Jonas Bonér 2010-09-27 11:59:28 +02:00
parent 91781c7414
commit 3fe641f2e4
8 changed files with 40 additions and 17 deletions

View file

@ -135,7 +135,7 @@ class ExecutorBasedEventDrivenDispatcher(
registerForExecution(mbox)
}
protected def registerForExecution(mailbox: MessageQueue with ExecutableMailbox): Unit = if (active) {
def registerForExecution(mailbox: MessageQueue with ExecutableMailbox): Unit = if (active) {
if (mailbox.dispatcherLock.tryLock()) {
try {
executor execute mailbox