add example with rule project dependancy
This commit is contained in:
parent
f2d9bc13ca
commit
b843c70b50
4 changed files with 7 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ public class KnowledgeSessionHelper {
|
|||
|
||||
public static KieSession getStatefulKnowledgeSession(KieContainer kieContainer, String sessionName) {
|
||||
|
||||
KieSession kSession = kieContainer.newKieSession();
|
||||
KieSession kSession = kieContainer.newKieSession(sessionName);
|
||||
|
||||
return kSession;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
|
||||
|
||||
<kbase name="kbase-base">
|
||||
<ksession name="session-base"/>
|
||||
</kbase>
|
||||
|
||||
</kmodule>
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue