Even if I create a spring integration file it doesn't directly injects the objects i.e. if I use @Inject annotation it throws no qualifying bean exception, but it works if I inject an application context bean and then try to getBean using context.getBean("beanName") method.

Note:- bean name is same what I give in @KBase annotation.

Moreover if my drl or rdrl files are in a jar which I imported through maven in my project it doesn't load the rules in that Kie Base it just creates a new KieBase object with no rules.
But if I put my drl files directly into my resources folder than it works just fine and all rules are fired.

On Sun, Jul 6, 2014 at 8:06 PM, vinodkiran [via Drools] <[hidden email]> wrote:
If you are using kie-spring, you need a spring XML and not a kmodule.xml


if you are using kie-spring-annotations, please look at



If you reply to this email, your message will be added to the discussion below:
To unsubscribe from Kie Spring integration, click here.

View this message in context: Re: Kie Spring integration
Sent from the Drools: User forum mailing list archive at Nabble.com.