Re: [rules-users] Question about Drools Spring, StatelessKnowledgeSession and globals

2013-01-26 Thread Patrick van Kann
Hi metatech, Thanks for the response. Yes, I agree that my naive approach wouldn't work due to the disposal of the commands but I think your approach would. As it happens, I plan to use Spring and Drools together in a future project so will try to check out your patch... although ironically I tend

Re: [rules-users] Question about Drools Spring, StatelessKnowledgeSession and globals

2013-01-15 Thread metatech
drools_global_stateless.diff Patrick van Kann wrote > So my questions are: > 1) Is this the intended behaviour or a bug? On reflection, I am now not > sure > the idea of a "batch/script" makes sense for a StatelessKn

Re: [rules-users] Question about Drools Spring, StatelessKnowledgeSession and globals

2010-11-07 Thread Patrick van Kann
Hello fellow Droolers, A while ago I asked why the element seemed to work differently in the case of a StatelessKnowledgeSession and a StatefulKnowedgeSession (see below). I just wanted to update those interested with the answer and ask some further questions, probably aimed at any developers wh

[rules-users] Question about Drools Spring, StatelessKnowledgeSession and globals

2010-10-29 Thread Patrick van Kann
Hello, I've been trying out the Spring integration package in Drools 5.1.1 and it works really well, but I have run into one issue I can't figure out. I've defined 2 knowledge sessions from the same knowledge base in the app context - one stateless, one stateful but otherwise identical. They both