Created
September 5, 2013 17:17
-
-
Save polymorphic/6453235 to your computer and use it in GitHub Desktop.
Akka 2.2.0 Props for new instance w/ inline override
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmdbTopology = context.actorOf(Props(new CmdbTopology { | |
override val supervisorStrategy = OneForOneStrategy() { | |
case nai: NotApplicableToItem => Resume // ensure recipe exception do not stop the actor | |
} | |
}).withDispatcher("topology-dispatcher"), "cmdb-topology") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment