[rules-users] Guvnor - more than one resource in changeset.xml

Stephen Masters stephen.masters at me.com
Wed Aug 28 04:16:39 EDT 2013


It sounds like you might need to look at activation groups. Otherwise, just create separate knowledge bases to cover the different blends of packages you wish to work together.

Steve


On 28 Aug 2013, at 08:30, rganesh84 <ganesh_r04 at infosys.com> wrote:

> Hi,
> 
> Thanks for the reply. I understand that. 
> 
> However the below line is going to fire rules in all the packages.
> kagent.applyChangeSet(ResourceFactory.newClassPathResource("guvnor-tomcat-single-changeset.xml")); 
> 
> Is there a possibility to specify the package to fire rules. 
> For instance, 
> Java UI Rule class file should fire only pkg1 rules. 
> Java Business Rule class file should fire only pkg2 rules.
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/Guvnor-more-than-one-resource-in-changeset-xml-tp4025690p4025711.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list