I have an existing java/scala application using a global thread pool. I would like to start using actors in the project but would like everything in the app using the same
I believe you can do something like this:
trait MyActor extends Actor { val pool = ... // git yer thread pool here override def scheduler = new SchedulerAdapter { def execute(block: => Unit) = pool.execute(new Runnable { def run() { block } }) } }