Re: [rules-users] Dynamic rules in Drools 6

2014-01-23 Thread Mark Proctor
On 23 Jan 2014, at 16:02, jhusby wrote: > Looking at the test case from Edson, quoted below, it appears that there's no > way to reuse a current session when upgrading the kbase rules? I need to > add and remove rules on the fly, and so if I have a stateful session, does > this mean I need to d

Re: [rules-users] Dynamic rules in Drools 6

2014-01-23 Thread Davide Sottara
There may be some misunderstanding here.. you can indeed rebuild the jar, but there is also a programmatic way to add (DRL) resources to an in-memory FS and update the KBs/KSs on the fly. See the examples in IncrementalCompilationTests Davide On 01/23/2014 10:11 AM, Mark Proctor wrote: > On 23 Jan

[rules-users] Dynamic rules in Drools 6

2014-01-23 Thread jhusby
Looking at the test case from Edson, quoted below, it appears that there's no way to reuse a current session when upgrading the kbase rules? I need to add and remove rules on the fly, and so if I have a stateful session, does this mean I need to dispose of the current session, upgrade the containe