[rules-users] Spring 4.0 & Drools 6.0.1 Integration issue
vinodkiran
vinodkiran at usa.net
Mon Feb 10 23:23:18 EST 2014
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-issue-tp4028052p4028054.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list