Re: [akka-user] Retry only has meaning for restart in SuperVisorStragety?

2016-08-03 Thread Yan Pei
Johan, Thank you! If the exception caused by external Server, both actor state and message are good, we can also retry the message when choosing resume. I have a question about RESTART, will RESTART start the Actor and resend the failed message again? Does the MailBox of the Actor

Re: [akka-user] Retry only has meaning for restart in SuperVisorStragety?

2016-07-27 Thread Akka Team
Hi Yan, If you choose resume, you think that the actor state is ok, but the message bad, so you don't want to retry the message. If you choose restart then it may have been the actor state that was bad, that will be fixed by the restart and then it may be reasonable to retry the message, if you

[akka-user] Retry only has meaning for restart in SuperVisorStragety?

2016-07-21 Thread Yan Pei
Hello, From the doc and my testing, looks like "retry only is meaningful if I want to restart the Actor? For resume() it will not apply the retry? Do I understand it correctly? Thanks, Yan -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>