Another newcomer question.
I have studied the javadocs, such as they are, for KnowledgeAgentFactory.
It seems to suggest, though not explicitly state, that one should invoke
some combination of ResourceChangeNotifier and ResourceChangeScanner to
cause the KnowledgeAgent to become aware of new rule bases.
Then it says that both services must be started, even though both services
are presumably not aware of each other.
And none of the sample code actually seems to hook the notifier up to the
scanner.
Then, it also looks like the KnowledgeAgent (Impl) itself wires these two
things up. But it seems to do it backwards (to my way of thinking): the
scanner is added to the notifier?
Somewhere around here is where my eyes start to glaze over. :-D
What is the proper sequence for setting up a knowledge agent so that the
file system is scanned, say, every 30 seconds? The KnowledgeAgentFactory
documentation looks like it *wants* to explain this, but doesn't get all the
way there.
Just want to make sure I'm doing everything right.
Thanks,
Laird
--
View this message in context:
http://n3.nabble.com/Proper-order-for-resource-scanners-and-notifiers-tp2...
Sent from the Drools - User mailing list archive at
Nabble.com.