I am newbie to Drools. I have informed from people that, if we use DRL files we dont need to restart server in production system and code changes effects automatically but in my case is not happening... example :
when
$account : Account( balance > 10 )
then
System.out.println("Print");
case 1) so as per above example I have started the server and it starts to given the console in follow since I looped in while(true) in java side
Print
Print
Print
.....
.....
.....,so on
case 2) Here is the change I am doing with out stopping the jboss server
when
$account : Account( balance > 10 )
then
System.out.println("Changed Print");
now I am expecting the result as
Changed Print
Changed Print
Changed Print
.....
.....
.....,so on
But the problem is still I am getting cas2 1 ouptput... why DRL is not compiled automatically since I have changed and saved the file.
Do I understand the DRL purposer correct? Your Help appreciated. Thanks