I’m using akka 2.5.21, in Java.
After registering the actors (and also spawning them) to a Receptionist I tried to look them up in another class with
For this I created a temp actor with
Receptionist.Listing behavior and invoked
Receptionist.Find message, like this
But the on the
Receptionist.Listing response from Receptionist when I do
.getServiceInstances(myLookupServiceKey) I get an empty set.
This seems like a simple way to find references to typed actor previously spawned elsewhere in the system, but looks a dead end .
Appreciate any help.