Open clasnake opened 7 years ago
Hey, I just went through this and for the code example on page 112:
public void postStart() { self().ask(new Connect(), null); } override def postStart = self ! connect
Shouldn't it be:
public void preStart() { self().tell(new Connect(), null); } override def preStart = self ! connect
I don't find postStart as an akka method that we can override. And the java code should use tell instead of ask. Is it a typo or am I missing anything?
Thanks
Hey, I just went through this and for the code example on page 112:
Shouldn't it be:
I don't find postStart as an akka method that we can override. And the java code should use tell instead of ask. Is it a typo or am I missing anything?
Thanks