[jboss-user] [JBoss jBPM] - Re: Problem with AsyncActivityTest in a AbstractTransactiona
jcvergara
do-not-reply at jboss.com
Tue Jul 28 20:42:40 EDT 2009
I am using the spring integration example by Andries Inze (http://www.inze.be/andries/2009/06/08/spring-jbpm4-cr1-demo/)
public class AsyncActivityTests extends
AbstractTransactionalSpringJbpmTestCase {…
@Override
protected String[] getConfigLocations() {
return new String[]{
"be/inze/spring/demo/applicationContext-common.xml",
"be/inze/spring/demo/applicationContext-dao.xml",
"be/inze/spring/demo/applicationContext-process.xml",
"be/inze/spring/demo/applicationContext-service.xml"};
}
@Override
protected void onSetUpInTransaction() throws Exception {
super.onSetUpInTransaction();
deployJpdlFromClasspath("org/jbpm/examples/async/activity/process.jpdl.xml");
}
And start the process as:
ProcessInstance processInstance = executionService
.startProcessInstanceByKey("AsyncActivity");
All the other examples provided by the JBPM4 distribution runs ok with this configuration.
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246573#4246573
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246573
More information about the jboss-user
mailing list