|
|
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hey Drools forumers,
I just started using drools quite recently and though I understand most
of the basics I still don't understand how to implement the
knowledge agent class. If I understand how knowledge agent works
then it can be used to allow a new knowledge session/base to be
created every time a modificatoin to those objects rules files has
been applied (after, of course, a 60 sec interval scan). Examples
online show that to apply a "changeset" to the agent you must use
"kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) );."
My question is what do you do with the url that leads to a changeset xml.
In other words if I have a changeset xml for one or two of my rules files
what do I do with it to make it recognize by my agent object? Pardon my
ignorance if I am failing to understand something.
|