I'm working with drools fusion and I want to test the perfomance of this cep system based on the number of rules implemented. I now have a simple rule file with the .drl extension. I would like to dynamically generate about a 1000 rules. So how can this be done automatically without having them to create one for one in the .drl file?
Have you ever heard about template engines? After all, DRL files are just plain text files. Here are some of them you can use:
If you don't like fancy stuff, you can always go back to the old good StringBuffer
class.
Hope it helps.