TC ONG [
https://community.jboss.org/people/devilkazuya99] created the discussion
"Re: Retrieving KnowledgeAgent in Drools-Spring"
To view the discussion, visit:
https://community.jboss.org/message/746533#746533
--------------------------------------------------------------
I did think of configure my knowledgeSession as a spring bean and set it to prototype.
Something like:
<bean id="ksession"
class="org.drools.runtime.StatefulKnowledgeSession"
scope="prototype">
....
....
</bean>
but I didn't try it. I still use the method mentioned above:
JPAKnowledgeService.loadStatefulKnowledgeSession(...)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/746533#746533]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]