Hello Rich,
it is currently not possible to use FSM with PersistentActor.
We would like to provide this at some point (FSMs are certainly pretty and
useful), here’s the issue tracking this feature:
https://github.com/akka/akka/issues/15279


You’re welcome to either help us out in this one or just +1 it, so we know
the “force (demand) is strong in this one” :-)

Some background: The PersistentActor is mostly what was previously known as
EventsourcedProcessor.
We never got to implementing FSM for it, as the receive mechanisms get
pretty complicated in it.

Currently you can achieve a very similar thing with plain old Actor
become(otherState), like here:
http://doc.akka.io/docs/akka/snapshot/scala/actors.html#become-unbecome

Hope this helps!
​
-- 
Konrad 'ktoso' Malawski
hAkker @ typesafe
http://akka.io

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to