[jboss-user] [jBPM] - Re: Retrieving KnowledgeAgent in Drools-Spring

TC ONG do-not-reply at jboss.com
Thu Jul 5 21:52:42 EDT 2012

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

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120705/ae7ecf8f/attachment.html 

More information about the jboss-user mailing list