rename MainBus to EventStream (incl. field in ActorSystem)

This commit is contained in:
Roland 2011-11-10 20:48:50 +01:00
parent 945b1aedf9
commit 53353d7031
30 changed files with 88 additions and 88 deletions

View file

@ -227,10 +227,10 @@ class BoundedExecutorDecorator(val app: ActorSystem, val executor: ExecutorServi
})
} catch {
case e: RejectedExecutionException
app.mainbus.publish(Warning(this, e.toString))
app.eventStream.publish(Warning(this, e.toString))
semaphore.release
case e: Throwable
app.mainbus.publish(Error(e, this, e.getMessage))
app.eventStream.publish(Error(e, this, e.getMessage))
throw e
}
}