Skip to content

Instantly share code, notes, and snippets.

@j14159
Last active August 29, 2015 14:04
Show Gist options
  • Save j14159/8219db85e98e2dc713d5 to your computer and use it in GitHub Desktop.
Save j14159/8219db85e98e2dc713d5 to your computer and use it in GitHub Desktop.
val props = Props(new BasicJdbcActor(connFac))
.withDispatcher("my-dispatcher")
val pool = RoundRobinPool(4, supervisorStrategy = restartStrategy)
sys.actorOf(pool.props(props))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment