rulebook icon indicating copy to clipboard operation
rulebook copied to clipboard

Multiples Rulebooks some application

Open brunoboassi opened this issue 5 years ago • 1 comments

Hi guys,

First, sorry my bad english, I will try explain my problem.

I have one application with four flux and each flux need one rulebook. I wanna know how I implement this. I use the Pojo mode today and the only way I was think is using Qualifier and instanciate 4 rulebook object.

Some better idea?

brunoboassi avatar Jan 25 '20 21:01 brunoboassi

You can use the POJO rules with the RuleBookRunner or the Java DSL to create a RuelBook. Or you could extend a RuleBook implementation (CoRRuleBook is currently packaged in the rulebook-core lib). Any of those approaches is practically the same as they all end up creating a RuleBook object.

Clayton7510 avatar Feb 04 '20 14:02 Clayton7510