[jboss-user] [JBoss jBPM] - Re: JBPM - concurrent process execution fails
estaub
do-not-reply at jboss.com
Mon Jul 23 13:46:52 EDT 2007
efip10,
On thinking about your problem some more...
Are you using JTA transactions?
AFAIK, an MDB message sent as part of a JTA transaction will not actually be sent until the transaction is committed. In this case, if the MDB were created as part of the transaction that's saving the ProcessInstance, it wouldn't be able to fire until after the ProcessInstance has been fully saved.
In this context, my earlier suggestion to use "async=true" may be whacked - it opens a race condition that need not exist!
I wonder if there's something in your transaction configuration that could be better.
I'm no pro in this area - suspect everything I say is wrong! ;-)
-Ed Staub
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066764#4066764
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066764
More information about the jboss-user
mailing list