Yes, we are talking about two different things at the same time here. I’d prefer to solve the lower level inconsistency first, and then think about the higher level feature. Using a stream thing sounds interesting …
Regards, Roland 11 apr 2014 kl. 09:56 skrev √iktor Ҡlang <[email protected]>: > I was specifically talking about wildcards at the end-position. > Perhaps this problem is better solved with some kind of stream-thing rather > than a Future? > > > > On Fri, Apr 11, 2014 at 9:33 AM, Patrik Nordwall <[email protected]> > wrote: > > > > On Thu, Apr 10, 2014 at 2:17 PM, Roland Kuhn <[email protected]> wrote: > 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. > > I agree, but we can maybe do even better. Consider: > > /user/a/b/c > /user/x > /user/y/b > > actorSelection("/user/*/b/c") > will give 3 replies, 2 of which are ActorIdentity(None) > > I think it should never reply with ActorIdentity(None) after a wildcard > fan-out to more than one branch. > Non-matching wildcard can reply with None, and after wildcard match of one > child it can also reply with None later. > > /Patrik > > > 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. > > > > -- > > 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. > > > > -- > Cheers, > √ > > -- > >>>>>>>>>> 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.
