Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss jBPM] - Interaction between two actors

scott.stark@jboss.org

2007-05-07


Hi
I am quite new to JBPM, and I need to cordinate between two seperate Threads using JBPM,
Suppose using the first example flow from the start-kit:


|  <process-definition>
|      <start-state>
|          <transition to='s' />
|       </start-state>
|       <state name='s'>
|           <transition to='end' />
|       </state>
|       <end-state name='end' />
| </process-definition>
|

I want to start the flow from the main thread and move to state 's' by using signal(), then I want another seperate thread to get the process definition id
(for this case suppose I save it in global place) and signal the first thread to move on the flow, is it possible?
>From the test I did the main thread never wait() for signal when entered a new state.


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043695
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.