I'm early in learning Akka. The hello-akka-java8 tutorial has greeter.tell
from no actor, followed by inbox.send:
final ActorRef greeter = system.actorOf(Props.create(Greeter.class),
"greeter");
final Inbox inbox = Inbox.create(system);
greeter.tell(new WhoToGreet("akka"), ActorRef.noSender());
The order that they are received would be the critical thing, I would
think. So, is the example not dealing with the possibility that the
messages could be received out of order? Or, is this somehow taken care of?
Kendall
On Monday, September 5, 2016 at 2:40:34 AM UTC-7, Tal Pressman wrote:
>
On Wednesday, September 7, 2016 at 3:16:57 PM UTC-7, Guido Medina wrote:
>
> By induction you can conclude that messages order is guaranteed when
> sending sequentially (in the same thread) by using the following assertions:
>
>- Messages sent to any local actor go immediately to their
Sorry for not understanding yet. The message ordering link cited earlier
seems to me to be suggesting that ultimately programs in general can only
have reliable message passing by having business logic that deals with it.
The section from that link says:
*for a given pair of actors, messages
I have one actor that sends a message to another actor. There is a message
logged that the message is sent and a message logged that it was received,
then later there is a message saying that the message could not be
delivered. Is this normal?
Essentially, I have (java):
ActorRef actorB =