I am using drools-camel-server 5.4 final to execute the rules fetched from guvnor on jboss AS7 as follows:
<drools:resource type="PKG" source="http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/mypackage/Test"
basic-authentication="enabled" username="test" password="test" />
</drools:resources>
<drools:ksession id="ksession1" type="stateless"
kbase="kbase" node="node1" />
how can I reload or rebuild the knowledgebase so that any changes in the rules instantly get reflected on execution server?
Yes you can by adding a knowledge agent and a resource change scanner... here is my working example
I had the same issue. Could not find any solution anywhere. I had resulted to trial and error and eventually for what seems to work for me. It detects when my remote resources in Guvnor has been updated.