@Wolfgang: I have that in my TODO list for a long time. Right now it is possible to create that mechanism using Agent listener and manipulating ResourceScanner manually. Something similar to what KAgent tests are doing.

But the problem here seems to be different because of 2 reasons:
  1. He doesn't seem to be using KAgent in incremental mode. So, each time a change is detected, a new KBase is created. All sessions previously created will continue using the old kbase.
  2. He is using Stateless ksessions. 

Best Regards,


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/8/24 Wolfgang Laun <wolfgang.laun@gmail.com>
Incremental change set processing might create the effect you describe. Declared types are always replaced; rules only if they differ.

It sure would be nice if the effects of knowledge base updates were described in a way that leaves no room for guesswork. "Gimme hope, Jo'anna..."
-W


On 23 August 2011 21:35, dcrissman <dac@akc.org> wrote:
It seems that the rules that stop firing are dependent on another rule which
is responsible for creating drools declared objects with a logicalInsert.
Seems to be the only commonality that I can find.

Oh, and I am using a stateless session.

Example:

declare MyClass
end

rule "Create Instance"
when
//whatever
then
logicalInsert(new MyClass());
end

rule "Dependent"
when
MyClass(
//whatever
)
then
//do something
end

--
View this message in context: http://drools.46999.n3.nabble.com/Rules-stop-firing-when-white-space-is-changed-tp3278986p3279079.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users