I have written below part in my drool file. I am not getting any compilation error, but it's not executing at run time. can we read data from properties file in the drool or do we have any alternative for reading data from config file. can you please help me on this.
Piece of code added in Drool :
InputStream fileInput = Thread.currentThread().getContextClassLoader().getResourceAsStream("rules.properties");
Properties properties = new Properties();
System.out.println("Client From Properties : "+fileInput);
properties.load(fileInput);
fileInput.close();