Importer is to do with Java imports.

A RuleBase is serialisable and thus is a Rule is as well, but you would have to handle your own building - see io.RuleSetLoader coder. So get the RuleSets from the RuleBase, iterate through the Rules of the RuleSet and serialise them as a Blob.

Mark

Anagha wrote:
Hi,
Is there any way to persist the rules which are created by drools API?
Are they stored in memory? I want to know whether I can export Rule in some
persistent storage.
I had a look at "org.drools.spi.Importer" but could not get much from
JavaDoc.

Any help is appreciated.

Thanks & Regards,
Anagha


Reply via email to