Dead letters containing remote envelopes handled correctly #2959

- New DeadLetter class for handling remoting specific envelopes
 - Fixed error handling of name lookups
 - Name lookup is now handled via futures (future refactor opportunity)
This commit is contained in:
Endre Sándor Varga 2013-01-28 14:38:33 +01:00
parent f12e11df46
commit e0a9dd70ba
9 changed files with 71 additions and 31 deletions

View file

@ -334,7 +334,7 @@ private[remote] class EndpointManager(conf: Config, log: LoggingAdapter) extends
override val supervisorStrategy = OneForOneStrategy(settings.MaximumRetriesInWindow, settings.RetryWindow) {
case InvalidAssociation(localAddress, remoteAddress, e)
endpoints.markAsQuarantined(remoteAddress, e)
endpoints.markAsFailed(sender, Deadline.now + settings.UnknownAddressGateClosedFor)
Stop
case NonFatal(e)