commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oksana Kolach" <>
Subject Terminate SCXML-Executor
Date Fri, 10 Jun 2011 16:33:52 GMT
Hello everybody,


which possibilities exists to terminate an SCXML-Executor, that is running
in an infinit loop?



My SCXML-state machine contains a loop.

If the SCXML-state machine is loaded by the executor and the executor is set
to "go()", then the executor is never ending.


To terminate this infinite loop after a certain time, I could start the
executor into another java-thread and kill this thread after the time-limit
is reached.

But this solution is not the best one I think.


Has anyone a better idea?

Exists there something like a watchdog-timer-method


Thanks in advance.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message