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

Mark Proctor mproctor at codehaus.org
Wed Oct 20 11:55:25 EDT 2010


  On 20/10/2010 11:26, O.S. wrote:
> 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 ?
If you find things are missing, open a jira with the specific requests 
and hopefully add a patch for what you need too :)

Mark
>
> 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
>>
>>





More information about the rules-users mailing list