In Akka, when an actor dies while processing a message (inside onReceive(...) { ... }
, that message is lost. Is there a way to guarantee losslessness? Is there a way to configure Akka to always persist messages before sending them to onReceive
, so that they can be recovered and replayed when the actor does die?
Perhaps something like a persistent mailbox?