Re: [akka-user] How to Store the Message Object/Class to a database?

2014-05-29 Thread Konrad Malawski
Hello Allen, have you had the chance to look into our akka-persistence http://doc.akka.io/docs/akka/2.3.3/scala/persistence.html module? Apps like you describe are very nicely modelled as events and “opposite events” if you want to “undo”. And direct answers to your questions: - path - the

Re: [akka-user] How to Store the Message Object/Class to a database?

2014-05-29 Thread Konrad 'ktoso' Malawski
Glad I could help! Happy hakking! --  Konrad 'ktoso' Malawski hAkker @ typesafe -- 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

[akka-user] How to Store the Message Object/Class to a database?

2014-05-27 Thread Allen Nie
Hi, I encountered this problem while trying to write a program that has some sort of ability to undo its own action. I thought this data structure could do the trick: originalValue[String], changedValue[String], actorAddress[String], message[??]. Since Akka actor can send messages