try the following....
RulesServiceImpl.java
@Inject
ApplicationContext context;
StatelessKieSession kieSession;
KieBase kiebase;
@PostConstruct
public void postConstruct(){
kieSession = (StatelessKieSession) context.getBean("ksession1");
kieBase = (KieBase) context.getBean("kbase1");
System.out.println("kieBase == "+kieBase );
System.out.println("kieSession == "+kieSession);
}
--
View this message in context:
http://drools.46999.n3.nabble.com/Spring-4-0-Drools-6-0-1-Integration-iss...
Sent from the Drools: User forum mailing list archive at
Nabble.com.