Hi Nicola,

The DeadLetter objects I see when I subscribe  to the event stream
> have already "dead-letter" as recipient, so it is impossible to
> determine if they were a reply to a timed out "ask".
> I tried to define a sort of conditional reply, in order to reply to
> the ask only if the sending actor is not terminated but it did not
> work.
>
Right, this will be racy anyway as you're working with a concurrent system
here so there could be races between
you checking if someone is alive and it dying before it gets the message
delivered.


> If I am not able to filter out this kind of errors from the dead-letter
> log, it is useless to look at it.
>
Dead letters are useful to look at then you send things to wrong / dead
actors and you didn't notice for example.
In the ask-late-reply case at least you'll get to see that there was a
response like that, while not super precise it's still a bit helpful.

Sorry we don't have a better solution here.
Future wise we've been thinking about adding some kinds of tracing, which
would make these kinds of things easier to detect.

-- 
Konrad
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

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