rename /null to /deadLetters, fixes #1492
This commit is contained in:
parent
c16fcebc21
commit
7da61b6cc1
3 changed files with 5 additions and 5 deletions
|
|
@ -84,7 +84,7 @@ class ActorLookupSpec extends AkkaSpec with DefaultTimeout {
|
|||
|
||||
"find system-generated actors" in {
|
||||
system.actorFor("/user") must be === user
|
||||
system.actorFor("/null") must be === system.deadLetters
|
||||
system.actorFor("/deadLetters") must be === system.deadLetters
|
||||
system.actorFor("/system") must be === syst
|
||||
system.actorFor(syst.path) must be === syst
|
||||
system.actorFor(syst.path.toString) must be === syst
|
||||
|
|
@ -93,10 +93,10 @@ class ActorLookupSpec extends AkkaSpec with DefaultTimeout {
|
|||
system.actorFor(root.path) must be === root
|
||||
system.actorFor(root.path.toString) must be === root
|
||||
system.actorFor("user") must be === user
|
||||
system.actorFor("null") must be === system.deadLetters
|
||||
system.actorFor("deadLetters") must be === system.deadLetters
|
||||
system.actorFor("system") must be === syst
|
||||
system.actorFor("user/") must be === user
|
||||
system.actorFor("null/") must be === system.deadLetters
|
||||
system.actorFor("deadLetters/") must be === system.deadLetters
|
||||
system.actorFor("system/") must be === syst
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -410,7 +410,7 @@ class DeadLetterActorRef(val eventStream: EventStream) extends MinimalActorRef {
|
|||
}
|
||||
|
||||
private[akka] def init(dispatcher: MessageDispatcher, rootPath: ActorPath) {
|
||||
_path = rootPath / "null"
|
||||
_path = rootPath / "deadLetters"
|
||||
brokenPromise = new KeptPromise[Any](Left(new ActorKilledException("In DeadLetterActorRef - promises are always broken.")))(dispatcher)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ other actors are found. The next level consists of the following:
|
|||
- ``"/system"`` is the guardian actor for all system-created top-level actors,
|
||||
e.g. logging listeners or actors automatically deployed by configuration at
|
||||
the start of the actor system.
|
||||
- ``"/null"`` is the dead letter actor, which is where all messages sent to
|
||||
- ``"/deadLetters"`` is the dead letter actor, which is where all messages sent to
|
||||
stopped or non-existing actors are re-routed.
|
||||
- ``"/temp"`` is the guardian for all short-lived system-created actors, e.g.
|
||||
those which are used in the implementation of :meth:`ActorRef.ask`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue