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
The unhandled message exception.
(serviceActor: StringAdd).self
(serviceActor: StringFormat).self
(serviceActor: ArrowAssoc[ServiceActor]).x
(Since version 2.10.0) Use leftOfArrow
instead
(serviceActor: Ensuring[ServiceActor]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
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.