Can be overridden in subsequent actor implementations, but super.postRestart(reason)
should also be called
to preserve consistent behavior
Can be overridden in subsequent actor implementations, but super.postRestart(reason)
should also be called
to preserve consistent behavior
what triggered this restart cycle
Triggered when an actor receives a message that it doesn't recognize.
Triggered when an actor receives a message that it doesn't recognize. In order:
1) Publishes an unhandled message to the actor system's event stream. 2) Replies with a akka.actor.Status.Failure message to the sender. 3) Throws an UnhandledMessageException for delegation to the supervisor.
com.paypal.cascade.akka.mailbox.ExpiredLetter messages from an com.paypal.cascade.akka.mailbox.ExpiringBoundedMailbox are published to the system eventstream, similar to the dead letter stream, and are otherwise ignored.
The unhandled message
UnhandledMessageException
The unhandled message exception.
ServiceActor returns an error response for unhandled messages and escalates the error to the supervisor by throwing an exception. For most child actors, this trait should be preferred.