Whenever a message can't be delivered to actor, or is sent to Nobody, or is not handled by an actor, it needs to end up delivered to a special actor called /system/deadLetters. This actor is present in all ActorSystems and initially, just logs the dead letters in a nice way.
It may also be a good idea to envelope the messages sent to the DeadLetters actor, so that the intended recipient (its path) is also known.
Whenever a message can't be delivered to actor, or is sent to
Nobody, or is not handled by an actor, it needs to end up delivered to a special actor called/system/deadLetters. This actor is present in allActorSystemsand initially, just logs the dead letters in a nice way.It may also be a good idea to envelope the messages sent to the DeadLetters actor, so that the intended recipient (its
path) is also known.