So, if I have an actor, I can give it a name. But, can I access that name internally? Example:
class Actorz extends Actor with ActorLogging { val actorNam
From an Actor you can use self to get the ActorRef.
Actor
self
ActorRef
val actorName = self.path.name
http://doc.akka.io/api/akka/2.2.3/#akka.actor.Actor
http://doc.akka.io/api/akka/2.2.3/#akka.actor.ActorRef
http://doc.akka.io/api/akka/2.2.3/#akka.actor.ActorPath