JBoss Community

Re: JBPM(Human Task)+Spring+Hibernate on JBoss AS 7

created by wqe wqe in jBPM - View the full discussion

In the official spring integration guide ,section 2.1.1. Define a Resource and section 2.1.1.5. Define KnowledgeSessions mentions it .

 

You should have something look like :

 

<drools:kbase id="kbase">
<drools:resources>
<drools:resource type="BPMN2" source="classpath:SampleHumanTaskProcess.bpmn" />
</drools:resources>
</drools:kbase>

 

 

 

<drools:ksession id="ksession" type="stateful" kbase="kbase">
<drools:configuration>
<drools:jpa-persistence>
<drools:transaction-manager ref="jbpmTransactionManager" />
<drools:entity-manager-factory ref="jbpmRuntimeEmf" />
</drools:jpa-persistence>
</drools:configuration>
</drools:ksession>

Reply to this message by going to Community

Start a new discussion in jBPM at Community