I am new to JBPM and have a question on concurrent processing handled by JBPM.
Below is the block of code showing my usage of JBPM

// Get the JBPMContext
jbpmContext = getJBPMContext();
// Get the process instance for the process instance id passed.

ProcessInstance processInstance = 
jbpmContext.loadProcessInstance(processInstanceId);
Token token = processInstance.getRootToken();
token.signal();
jbpmContext.save(token);
jbpmContext.save(processInstance);

My question is before transaction A issues an explicit save another transaction 
B modifies the same records then how JBPM will handle transaction A?

I hope I will get answre to my question.

Thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067216
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to