Reputation: 13
I just want to turn off strict-mode. This question has the old way of doing it: disable strict mode in drools . I would like to do it in Java or in the kmodule.xml, or a properties file, not in the jvm args if possible. Thanks
Upvotes: 0
Views: 1473
Reputation: 953
Use the <configuration>
element in kmodule.xml to set properties:
<kmodule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.drools.org/xsd/kmodule">
<configuration>
<property key="drools.dialect.mvel.strict" value="false" />
</configuration>
...
</kmodule>
Upvotes: 1