I am using the KnowledgeAgent to get BPMN2 resources from Guvnor as follows:
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent("Guvnor default");
kagent.applyChangeSet(ResourceFactory.newUrlResource("://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/ackageOne/LATEST/ChangeSet.xmlkagent.monitorResourceChangeEvents(false) Where "PackageOne" is a name of the package I defined in the Guvnor. I have additional packages, e.g., PackageTwo and PackageThree, so on. There is a reason why I need to define multiple packages instead of one big package. And, I'd like to add all the packages into KnowledgeAgent. So, the KnowledgeBase contains PackageOne, PackageTwo and PackageThree. Is it possible? Thanks,bwj
kagent.monitorResourceChangeEvents(false)
Where "PackageOne" is a name of the package I defined in the Guvnor. I have additional packages, e.g., PackageTwo and PackageThree, so on. There is a reason why I need to define multiple packages instead of one big package. And, I'd like to add all the packages into KnowledgeAgent. So, the KnowledgeBase contains PackageOne, PackageTwo and PackageThree. Is it possible?
Thanks,
bwj
KnowledgeBase kbase = kagent.getKnowledgeBase();
Reply to this message by going to Community
Start a new discussion in jBPM at Community