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
<patrik.nordw...@gmail.com>wrote:

>
>
>
> On Thu, Apr 10, 2014 at 2:17 PM, Roland Kuhn <goo...@rkuhn.info> 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 <heiko.seeber...@gmail.com>:
>>
>> Makes total sense. Should be documented more explicitly, though.
>>
>> Thanks
>> Heiko
>>
>>
>> On Thu, Apr 10, 2014 at 11:13 AM, Patrik Nordwall <
>> patrik.nordw...@gmail.com> 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 <christian.ho...@gmail.com>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 <christi...@gmail.com> 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 akka-user+...@googlegroups.com.
>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>>
>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to akka-user@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Patrik Nordwall
>>> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
>>> Twitter: @patriknw
>>> JOIN US. REGISTER TODAY! <http://www.scaladays.org/>
>>> Scala <http://www.scaladays.org/>
>>> Days <http://www.scaladays.org/>
>>> June 16th-18th, <http://www.scaladays.org/>
>>> Berlin <http://www.scaladays.org/>
>>>
>>>
>>> --
>>> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>>> To post to this group, send email to akka-user@googlegroups.com.
>>> 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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> 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 <http://typesafe.com/> – Reactive apps on the JVM.
>> twitter: @rolandkuhn
>>  <http://twitter.com/#!/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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Patrik Nordwall
> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
> Twitter: @patriknw
> JOIN US. REGISTER TODAY! <http://www.scaladays.org/>
> Scala <http://www.scaladays.org/>
> Days <http://www.scaladays.org/>
> June 16th-18th, <http://www.scaladays.org/>
> Berlin <http://www.scaladays.org/>
>
>  --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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