[rules-users] Using Drools and Spring in an OSGi environment

O.S. troshmail at googlemail.com
Wed Oct 20 06:26:15 EDT 2010


Has nobody tried to get Drools-Spring working with OSGi? Otherwise it would
be enough for me if i could configure the Kbases, KSessions and so on with
the Drools-Spring-Syntax (drools-spring-1.0.0.xsd). Is there something like
a DroolsConfigurationHelper ?


O.S. wrote:
> 
> Hello,
> I'm actually using Drools in an OSGi environment and everything looks fine
> so far. But now I want to configure the KnowledgeBases etc. via
> Spring-XML-Configuration, like it's shown in the 5.1.1 Integration
> Guide<http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html_single/index.html#d0e76>.
> I have read the
> Test-cases<http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-container/drools-spring/src/test/java/org/drools/container/spring/SpringDroolsTest.java>and
> tried to "copy" them, but it didn't worked. I think it's because he
> couldn't find the necessary classes (because of OSGi Classloader-Strategy
> and so on). My question is now: Has someone already tried to use Drools
> including Spring in an OSGi environment? I don't know where to start
> because
> I'm new at Drools and have never worked with Spring.
> 
> Kind regards,
> 
> O.S.
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Using-Drools-and-Spring-in-an-OSGi-environment-tp1682258p1737846.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list