It is slightly inconsistent, though: consider

/a/*/c

if a does not exist, we reply
if it has no children, we don’t reply
if one of its children has no `c` then we reply

I think we should send ActorIdentity(None) if a pattern matches nothing.

Regards,

Roland

10 apr 2014 kl. 12:24 skrev Heiko Seeberger <[email protected]>:

> Makes total sense. Should be documented more explicitly, though.
> 
> Thanks
> Heiko
> 
> 
> On Thu, Apr 10, 2014 at 11:13 AM, Patrik Nordwall <[email protected]> 
> wrote:
> This is by design for wildcard selections and I think it would be very 
> difficult to implement it.
> When should it reply with ActorIdentity(None)? The wildcard can potentially 
> traverse remote nodes.
> 
> /Patrik
> 
> 
> On Thu, Apr 10, 2014 at 10:58 AM, chris <[email protected]> wrote:
> Thanks!
> 
> 
> On Thursday, April 10, 2014 10:39:45 AM UTC+2, Heiko Seeberger wrote:
> Hi,
> 
> I can verify this behavior which I consider a bug. 
> Ticket created: https://www.assembla.com/spaces/akka/tickets/3992
> 
> Heiko
> 
> 
> On Thu, Apr 10, 2014 at 9:56 AM, chris <[email protected]> wrote:
> Hi,
>   an interesting question got posted on stackoverflow:
>   
> https://stackoverflow.com/questions/22948717/actorselection-does-not-respond-when-wildcard-is-used
> 
>   When using an actor selection with wildcards (which does not match an 
> actor) no response
>   (ActorIdentity) is sent to the Identify message. Is this normal behaviour?
> 
> Cheers,
>   Christian
> 
> -- 
> >>>>>>>>>> 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.
> 
> 
> 
> -- 
> 
> Heiko Seeberger
> Twitter: @hseeberger
> Blog: blog.heikoseeberger.name
> 
> -- 
> >>>>>>>>>> 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.
> 
> 
> 
> -- 
> 
> Patrik Nordwall
> Typesafe -  Reactive apps on the JVM
> Twitter: @patriknw
> 
> JOIN US. REGISTER TODAY!
> Scala
> Days
> June 16th-18th,
> Berlin
> 
> 
> -- 
> >>>>>>>>>> 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.
> 
> 
> 
> -- 
> 
> Heiko Seeberger
> Twitter: @hseeberger
> Blog: blog.heikoseeberger.name
> 
> -- 
> >>>>>>>>>> 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.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


-- 
>>>>>>>>>>      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