From 8a1db91e8d1db52db0b78f828cdc9d81b88e658e Mon Sep 17 00:00:00 2001 From: Lev T11v Date: Sat, 16 May 2015 21:52:24 +0200 Subject: [PATCH] =sam method name is "onReceive", not "receive" --- akka-samples/akka-sample-main-java-lambda/tutorial/index.html | 2 +- akka-samples/akka-sample-main-java/tutorial/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-samples/akka-sample-main-java-lambda/tutorial/index.html b/akka-samples/akka-sample-main-java-lambda/tutorial/index.html index 2c4917fad4..a22d8acb12 100644 --- a/akka-samples/akka-sample-main-java-lambda/tutorial/index.html +++ b/akka-samples/akka-sample-main-java-lambda/tutorial/index.html @@ -24,7 +24,7 @@ the application will shut down—more on that later. The main business logic happens in the preStart method, where a Greeter actor is created and instructed to issue that greeting we crave for. When the greeter is done it will tell us so by sending back a message, and when that message has been -received it will be passed into the behavior described by the receive +received it will be passed into the behavior described by the onReceive method where we can conclude the demonstration by stopping the HelloWorld actor.

diff --git a/akka-samples/akka-sample-main-java/tutorial/index.html b/akka-samples/akka-sample-main-java/tutorial/index.html index e6325187ad..69d24617e1 100644 --- a/akka-samples/akka-sample-main-java/tutorial/index.html +++ b/akka-samples/akka-sample-main-java/tutorial/index.html @@ -24,7 +24,7 @@ the application will shut down—more on that later. The main business logic happens in the preStart method, where a Greeter actor is created and instructed to issue that greeting we crave for. When the greeter is done it will tell us so by sending back a message, and when that message has been -received it will be passed into the behavior described by the receive +received it will be passed into the behavior described by the onReceive method where we can conclude the demonstration by stopping the HelloWorld actor.