Merge pull request #668 from akka/wip-1588-cluster-death-watch-patriknw

Death watch hooked up with cluster failure detector, see #1588
This commit is contained in:
Patrik Nordwall 2012-09-11 06:13:44 -07:00
commit 911ef6b97e
9 changed files with 286 additions and 29 deletions

View file

@ -235,6 +235,7 @@ private[akka] class RemoteActorRef private[akka] (
catch {
case e @ (_: InterruptedException | NonFatal(_))
remote.system.eventStream.publish(Error(e, path.toString, classOf[RemoteActorRef], "swallowing exception during message send"))
provider.deadLetters ! message
}
override def !(message: Any)(implicit sender: ActorRef = null): Unit =
@ -242,6 +243,7 @@ private[akka] class RemoteActorRef private[akka] (
catch {
case e @ (_: InterruptedException | NonFatal(_))
remote.system.eventStream.publish(Error(e, path.toString, classOf[RemoteActorRef], "swallowing exception during message send"))
provider.deadLetters ! message
}
def suspend(): Unit = sendSystemMessage(Suspend())