commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swamy, Suraj (Suraj)" <>
Subject State machine not making transition as expected
Date Tue, 04 Dec 2007 13:52:06 GMT
Hi All,

          I'm facing a weird error wherein my state machine does not
seem to be transitioning as expected. Here is a snapshot of the state

                    <state id="sendMessage">

                  <transition event="incomingmessage"
target="verifyMessage" />



            <state id="verifyMessage">

                  <transition event="valid" taget="responseComplete"/>

                  <transition event="invalid" taget="invalidResponse"/>



            <state id="invalidResponse">

                  <transition event="incomingmessage"
target="verifyMessage" />




            <state id="responseComplete" final="true">



      The problem occurs when I'm in state verifyMessage. I fire the
event as follows 


but the state machine does not move to the target which is
responseComplete. It remains in verifyMessage. I fail to understand this
error. I shall be really thankful if you could shed some light on this
behavior. I'm using release 0.6.





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