I have two root actors with corresponding child actors at the following 
paths:
/akka://mysystem/user/rootA/childA
and
/akka://mysystem/user/rootB/childB

when I try :

ActorSelection ref= system.actorSelection("/user/root*/childA");
ref.tell(obj,self());


I get DeadLetterWarning on messages going intended to 
"/akka://mysystem/user/rootB/childB"
whereas my intended recipient (/akka://mysystem/user/rootA/childA) received 
the messages as intended. This litters my logging and possibly also uses 
some unnecessary resources in my application. 

I would expect the actorSelection to only send messages to paths matching 
the entire expression and not just the first part up to the wildcard?

Have I misinterpreted the pattern matching, or is this a bug?

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to