TC ONG [https://community.jboss.org/people/devilkazuya99] created the discussion

"Retrieving KnowledgeAgent in Drools-Spring"

To view the discussion, visit: https://community.jboss.org/message/738940#738940

--------------------------------------------------------------
I configured drools-spring with knowledgeAgent + persistence. Because i setting 
looks like this:
 <drools:ksession id="jpaSingleSessionCommandService" type="stateful" 
kbase="kbase">
Eveerytime I started my tomcat, it creates a new ksession and a record in 
SessionInfo table. So it strikes me in the head that by configure my ksession 
this way, I can't reclaim my previous session at all. Silly me.  :p 
Now my question is, is it possible to reclaim my previous session (as code 
below) using the drools-spring way or I can only do it programatically?
StatefulKnowledgeSession ksession =  
    JBPMHelper.loadStatefulKnowledgeSession(kbase, sessionId);
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/738940#738940]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to