[rules-users] Decision table -1 java file per rule - optimization

jalex jaalex at gmail.com
Thu May 2 00:28:01 EDT 2013


Hi,

I noticed that each row in the decision table speadsheet is converted to a
separate java file during runtime (ex:
Rule_Pricing_bracket_352_941a618e0e72407d89d04664d5809e7f.java) . This will
lead to the number of classes increasing as the number of rules grow. Is
there a way to optimize such that all rules in 1 spreadsheet gets converted
to a single java file? 

Sample logs  during runtime, each "rule applied" log corresponds to firing
of a single row

04/29/2013 15:33:22,434 DEBUG [http-9080-1]
(Rule_Pricing_bracket_352_941a618e0e72407d89d04664d5809e7f.java:8)
aa410236-727c-4d48-8761-79088dca9b31 Rule applied: Default_A_rule40
04/29/2013 15:33:22,435 DEBUG [http-9080-1]
(Rule_Pricing_bracket_201_e2c74982a30d4e8eb128f07fbba73803.java:8)
aa410236-727c-4d48-8761-79088dca9b31 Rule applied: Default_B_rule40
04/29/2013 15:33:22,436 DEBUG [http-9080-1]
(Rule_Pricing_bracket_50_5de087aa5a3345adbc06748474dc53b3.java:8)
aa410236-727c-4d48-8761-79088dca9b31 Rule applied: Default_C_rule40




--
View this message in context: http://drools.46999.n3.nabble.com/Decision-table-1-java-file-per-rule-optimization-tp4023620.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list