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:
commit
911ef6b97e
9 changed files with 286 additions and 29 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue