Start removed but cluster is broken

This commit is contained in:
Viktor Klang 2011-09-08 11:02:17 +02:00
parent 24fb967988
commit bbb79d8e0d
144 changed files with 684 additions and 930 deletions

View file

@ -60,7 +60,7 @@ public class PingActor extends UntypedActor implements ApplicationContextAware {
if (message instanceof String) {
lastMessage = (String) message;
if (message.equals("longRunning")) {
ActorRef pongActor = actorOf(PongActor.class).start();
ActorRef pongActor = actorOf(PongActor.class);
pongActor.sendRequestReply("longRunning", getContext());
}
latch.countDown();