Support for more durable mailboxes
This commit is contained in:
parent
91781c7414
commit
3fe641f2e4
8 changed files with 40 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue