Solution

All Actors in the system should message themselves when they receive a request. In the above example, the shopping cart Actor can accept the request to add more items to the shopping cart and send a message to itself with the details of item to add to the shopping cart. Once the Actor instance is done processing the previous request, it can consume a message from the queue and add the item to the shopping cart:

Remindable Actor (Solution)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset