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

@ -172,7 +172,7 @@ private[remote] class EndpointWriter(
stash()
stay()
case Event(Status.Failure(e: InvalidAssociationException), _)
log.error(e, "Tried to associate with invalid remote address [{}]. " +
log.error("Tried to associate with invalid remote address [{}]. " +
"Address is now quarantined, all messages to this address will be delivered to dead letters.", remoteAddress)
publishAndThrow(new InvalidAssociation(localAddress, remoteAddress, e))
case Event(Status.Failure(e), _)