Re: [akka-user] Feedback request: retry mechanism

2014-10-22 Thread Patrik Nordwall
Hi, I looked at your code. A few comments: - What is the purpose of using ask in the Retry actor? The timeout failure, and akka.actor.Status.Failure replies will be sent (pipeTo) to the original sender anyway. - Does it work? Is the message in preRestart defined when the child fails? A new Retry

[akka-user] Feedback request: retry mechanism

2014-10-20 Thread IonuČ› G. Stan
Hey everyone, I've recently needed a retry mechanism for failed messages and after a bit of searching I've noticed that the recommended way would be to spawn a new child actor for each message that needs to be retried, restart it through supervision and have the child actor reschedule, in