commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <>
Subject Re: [scxml] SCXML model thread-safe?
Date Tue, 05 Jul 2011 18:30:53 GMT
On Tue, Jul 5, 2011 at 3:37 AM, Dario D <> wrote:
> Is the SCXML model thread-safe? We're considering to parse the SCXML files
> on application startup and then store the resulting SCXML models in a cache
> where multiple threads will access them. Should we expect any
> inconsistencies? Note that executors will not be cached, and a new executor
> will be created per request.

The above usage pattern is fine. We have a test or two running in the
nightlies that does the above (one model, many executors). Ofcourse,
I'd recommend authoring tests that closely match your scenario as


> Thank you!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message