AkkaGuice
AkkaGuice copied to clipboard
PerRequest Actor getting the same name
Error in custom provider, akka.actor.InvalidActorNameException: actor name [PerRequest-114326323442451120] is not unique!
at akkaGuice.AkkaGuiceModule.RegisterActors(AkkaGuiceModule.java:59)
while locating akka.actor.ActorRef annotated with @com.google.inject.name.Named(value=PerRequest)
for parameter 4 at controllers.Application.
This happens when trying to inject into the constructor a per request actor. Singleton actors are fine and also using PropsContext is.