Akka-cm-dispatcher is a project mainly written in ..., it's free.
Container managed thread pools for Akka Dispatchers
TESTED AGAINST GLASSFISH 2.1.1, JDK 1.6.0_17. Based on Spring WorkManagerTaskExecutors (http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jca/work/WorkManagerTaskExecutor.html)
Allows using container-managed thread pools (through JCA WorkManager) for Akka Dispathers. The following containers are supported:
GlassFish example:
val dispatcher = new ExecutorBasedEventDrivenDispatcher("name") with ContainerManagedThreadPoolBuilder dispatcher .withGlassFishManagedDefaultThreadPool // if you want to use default WorkManager .buildThreadPool
or
dispatcher .withGlassFishManagedThreadPool("actor-thread-pool")// if you want to use named thread pool .buildThreadPool
===Download, test and build===
===Run example===