commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ws_dev2001 <ws_dev2...@yahoo.com>
Subject [SCXML] state persistence with failure recovery
Date Wed, 17 Jun 2009 14:38:11 GMT

Hi all,
is it possible to persist the state of an scxml instance into a database ?
What would be the api call structure to achieve this?  I understand that the
junits have roundtrip testcase to check for serialization and
deserialization. However, file system based operations are not currently
envisaged. I am looking at the 0.9 release of commons-scxml. Further, I have
a custom eventing framework and would like to use this within the scxml
state machine so that all calls to fireEvent are going to create and emit a
custom event which would cause a transition to be taken for a statechart
instance. 
The initial requirement of persisting the state to a database is given a
failure scenario when post restart the statechart instance needs to be in a
particular wait state and awaiting action(input event fired to it) so that
the next state(if not a 'final' state) can be transitioned to.

Regards,
R2D2.

-- 
View this message in context: http://www.nabble.com/-SCXML--state-persistence-with-failure-recovery-tp24075078p24075078.html
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message