Hi,

I'm trying to inject KieBase objects declared in my
kmodule.xml file which is in a jar imported by using maven dependencies in
my project but it doesn't work. Below are few things I tried :-

1.) @KBase(name="defaultKieBase")
        @KReleaseId(artifactId="com.demo", groupId="FirstDemo",
version="1.0")
        private KieBase kbase;

2.)KieServices.Factory.get().newKieContainer(KieServices.Factory.get().newReleaseId("com.demo","FirstDemo","1.0"))

nothing works until I import drl files in my project and write own
kmodule.xml file. FirstDemo Project is imported correctly using maven I can
see it in my dependencies also.

Is there anything I'm doing wrong?

I'm using spring-tc server and trying this in spring project and I've
imported spring-kie and kie-ci and related dependencies in my project.




--
View this message in context: 
http://drools.46999.n3.nabble.com/Kie-Spring-integration-tp4030243.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to