In this chapter, we saw how to use rules to perform more complex data transformation tasks. These rules are easy to read and can be expanded without increasing the overall complexity. However, it should be noted that Drools is probably not the best option if we want to carry out high throughput/high performance data transformations.
We saw how to write rules over a generic data type such as a
java.util.Map. You should try to avoid using this kind of generic data type. However, it is not always possible, especially when you are doing data transformation and you don't know much about the data.
Some testing approaches were shown. Use of
AgendaFilter as a way to isolate the individual rule tests was also demonstrated. Please note that upon execution, ...