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> |