Hi Patrik,

thank you for the reply.

On Friday, January 9, 2015 at 9:49:40 AM UTC+1, Patrik Nordwall wrote:
>
>
> Let me try to understand your original problem. You send a request with 
> ask to an Actor with AtLeastOnceDelivery. There you reply to the sender() 
> using the deliver method (and the path of the sender()). Is that what you 
> are doing?
>

Yes, that is what I'm doing. I'm passing the sender() ActorRef to other 
actors until I am able to reply to it with deliver. When I reply with 
delivery, I call path on the ActorRef.
In my service layer, I would send a confirmation using tell with 
ActorRef.noSender once the future from AskSupport completes.

To be honest, I'm not sure If what I'm doing is weird somehow because of 
the temporary actor from AskSupport (I'm experimenting/prototyping). I'm 
uncertain what would happen upon re-delivery, I guess a dead letter. 
What perplexes me is that you cannot tell an ActorSelection if you create 
it by calling path on an ActorRef from AskSupport. Is this by design?

Ferdinand

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