Hi,

the documentation of jBPM says:

There are 3 places where execution can be continued asynchronously: 

-Just before the node's execute method. Which is after entering the node.
-When execution is about to be propagated over a transition. Which is before 
leaving a node.
-Every action can be executed asynchonously as well.

I'm interested in the second case: Do I have to call signal() on the Token in a 
separate Thread delayed for 1 ms to allow the execute() Method to return? Or 
does a mechanism already exist?

Now I have:

execute()
  signal()
     execute()
        signal()
          execute()
             ....
           return
      return
return

I want:

execute()
signal()
return

execute()
signal()
return

... 

execute()
return


Thanks,

Maurizio T.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932102#3932102

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932102


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to