I was wondering if it's safe to use the KnowledgeAgent inside of a JEE
container. I'm assuming that the KnowledgeAgent implementation spawns a
thread to poll for changed resources (to reinitialize a KnowledgeBase, for
instance, when updated DRL files are detected). Normally, use of unmanaged
thread
Are you trying to update the grossAmount propery of the LineItem class?
Perhaps it's as simple as:
rule "split line item"
when
$item : LineItem( grossAmount > 1000 )
then
$item.setGrossAmount(500);
// you may also wish to update the LineItem fact in working memory if
you want to
I've upgraded my Drools installation to 5.0.0.CR1, including the Eclipse
IDE, and it all seems to be working, but Eclipse's automatic updates keep
detecting that the IDE needs to be upgraded, and it's suggesting the M5
version of the IDE. I keep cancelling the update, but it's getting
annoyingi
Hey guys (Drools newbie here)
I'm *attempting* to use the Drools/Smooks pipeline functionality to insert
facts into my knowledgebase and I'm having a little trouble figuring out
exactly how to do this. I've read the API docs for the 5.0.0.M5 and looked
at the test cases but I guess I'm still not
I'm trying to use Smooks to populate my Drools internal data model as per the
blog posting at http://blog.athico.com/2008/07/drools-smooks-data-loader.html,
but it's not quite working out for me.
In that posting, there is the following line of code:
DroolsSmooks loader = new DroolsSmooks( sess