deliveredtechnologies/rulebook

Multiples Rulebooks some application

brunoboassi opened this issue · 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?

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.