Drools - 来自字符串的规则在内存中创建

Drools - rule from string gets created in-memory

流口水的小伙伴们好!!

我正在尝试使用下面提到的 api 从字符串加载规则。


但是,我观察到它是在内存中创建的,并没有写入我硬盘上的文件。

是否有 api 来实现这种行为?

干杯!

Drools API 解决的问题与在 OS 文件系统上创建资源不同。

KIE virtual file system KieFileSystem to build the project

drools documentation

KieFileSystem is an in-memory file system provided by the framework

baeldung tutorials