[akka-user] controlling the persisted actor lifecycle

2014-08-24 Thread Barak Cohen
Hi, I am trying to achieve the following with persisted actors: 1. Have a persisted stateful actor the runs a process over a period of time (basically calling a micro flows actors to perform a step in the process when the time is due) 2. In some cases the the steps are immediate

Re: [akka-user] controlling the persisted actor lifecycle

2014-08-24 Thread Barak Cohen
Thanks for the help. And how do I restore the same actor (state) on another node? Would it happen automatically if I will use the same id ? Do I need to use the Recover class in some manner ? Thanks On Aug 24, 2014 11:47 PM, Konrad Malawski konrad.malaw...@typesafe.com wrote: Hello Barak,

[akka-user] Akka FSM and Akk persistence with Java (8)

2014-08-19 Thread Barak Cohen
Hi, We have just started to build our new application with Akka using java 8. We started by using the FSM actor but when we read about the persistent actors we wanted to use them as well. I saw that in the Scala documentation of the persistence module there is a reference on how to combine the