Removing akka.actor.Actors since they were deprecated in 2.0.2

This commit is contained in:
Viktor Klang 2012-05-07 20:37:56 +02:00
parent 5c9dff8ad2
commit 57c5dd00e0
11 changed files with 19 additions and 82 deletions

View file

@ -72,7 +72,7 @@ public class FaultHandlingDocSample {
log.info("That's all, shutting down");
getContext().system().shutdown();
}
} else if (msg == Actors.receiveTimeout()) {
} else if (msg == ReceiveTimeout.getInstance()) {
// No progress within 15 seconds, ServiceUnavailable
log.error("Shutting down due to unavailable service");
getContext().system().shutdown();