Javed Shaikh
Javed Shaikh

Reputation: 681

Drool 5.3.3.Final to Drool 6.0.0.Final Migration. RuleAgent alternate in Drool 6

I am new to drool and question might be quite easy but headache for a now

what is the alternate to org.drools.agent.RuleAgent in drools 6.0.0 or how can i create newInstance of RuleAgent using drool 6.0.0.

Upvotes: 0

Views: 476

Answers (1)

Esteban Aliverti
Esteban Aliverti

Reputation: 6322

The DroolsAgent class was removed from version 6 and greater. You can achieve a similar behavior (and probably event more) with the KieScanner or with KieContainer.updateToVersion().

Both ways are kind of documented in the oficial documentation.

Hope it helps,

Upvotes: 1

Related Questions