Hi Raj,
you do the split
| ForkA
|
| StateA1 StateA2
| (sends JMS (sends JMS
| and waits) and waits)
|
| MDB finds the
| => => meaning of life
| and signals waiting
| <= <= Token
|
| JoinA
|
The Fork Node creates two Tokens. These arrive in states that have
ActionHandlers. These ActionHandlers do NOT 'find the meaning of life', they
only send a JMS Message to a MDB requesting to 'find the meaning of life'.
(This is the only legal way to spawn a Thread in J2EE). When (if?) the MDBs
'find the meaning of life' they signal the waiting Tokens that continue on
their path.
Maybe it's easier to understand if you think of the MDBs as humans (better
suited for this specific task anyway) where the workflow waits for user
feedback. Only here this is implemented without Tasks.
Does this make it any more clear (if you ignore the philosophical distractions)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923507#3923507
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923507
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user