-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routers seem ignore supervision strategy #996
Labels
Comments
Good find! would you mind submitting this failing test as a PR? |
Done |
I've found the reason for it. private ActorBase NewActor()
{
PrepareForNewActor();
ActorBase instance=null;
UseThreadContext(() =>
{
_state = _state.ClearBehaviorStack();
//the router actor is created here, with the correct supervisor strategy
instance = CreateNewActorInstance();
//which is then overwritten by the props supervisor strategy (which doesnt exist in JVM)
instance.SupervisorStrategyInternal = _props.SupervisorStrategy;
});
return instance;
} |
I've made a PR for this #1000 |
This was referenced Jun 2, 2015
Horusiath
pushed a commit
to Horusiath/akka.net
that referenced
this issue
Jul 4, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I provide a supervision strategy to a router config it never gets called on an exception from a routee.
It seems that the strategy gets overwritten be the default strategy in ActorBase.
Failing test:
The text was updated successfully, but these errors were encountered: