maxl
maxl

Reputation: 13

How can I set drools.dialect.mvel.strict to false when using KieSessions in Drools 6.5?

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

Answers (1)

Jeff
Jeff

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

Related Questions