I was more thinking about a Dynamic Import here that we can do with
wrapper.  That should work.

Anyway, if it's a need from several users, why not add a feature in Karaf.

Regards
JB

On Tue, Oct 21, 2025 at 2:54 PM Matt Pavlovich <[email protected]> wrote:
>
> I suspect the challenge isn’t going to be to get Drools itself running in 
> Karaf, but Drools running AND wired to all the injected services and 
> everything needed for the custom coded rule classes themselves.
>
> I suspect you may need an OSGi-aware wrapper class that looks for the things 
> you need and then wires up the drools engine. Possibly using a ServiceTracker 
> and/or BundleTracker.
>
> Matt Pavlovich
>
> > On Oct 21, 2025, at 7:10 AM, Jean-Baptiste Onofré <[email protected]> wrote:
> >
> > Hi
> >
> > I think it's always possible to wrap in Karaf. It's what we do for
> > hibernate and hibernate-validator, and by extend in camel-karaf.
> >
> > Regards
> > JB
> >
> > On Mon, Oct 20, 2025 at 9:07 PM Francois Papon
> > <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> Drools is a part of a new incutabing ASF project KIE:
> >>
> >> https://kie.apache.org/
> >>
> >> I don't know if the committer plan to reopen the OSGi support.
> >>
> >> regards,
> >>
> >> François
> >> [email protected]
> >> [email protected]
> >>
> >> Le 20/10/2025 à 20:49, Steven Huypens a écrit :
> >>> Hi,
> >>>
> >>> Afaik Drools dropped OSGi-support a few versions ago:
> >>> https://issues.redhat.com/browse/DROOLS-7188
> >>>
> >>> I got it working back at the time :
> >>> https://stackoverflow.com/questions/78142936/drools-8-osgi-support
> >>>
> >>> But later on we dropped Drools ourselves, I have no idea of the
> >>> current situation.
> >>>
> >>> Kind regards,
> >>> Steven
> >>>
> >>> On Mon, Oct 20, 2025 at 8:46 PM Jean-Baptiste Onofré <[email protected]> 
> >>> wrote:
> >>>> Is it still supported ? This version is not new afair.
> >>>>
> >>>> Regards
> >>>> JB
> >>>>
> >>>> Le lun. 20 oct. 2025 à 17:54, Steinar Bang <[email protected]> a écrit :
> >>>>>>>>>> Jean-Baptiste Onofré <[email protected]>:
> >>>>>> Hi Chandan
> >>>>>> I don't think we have any documentation about jdrools support in Karaf.
> >>>>>> Probably the easiest approach would be using the wrap protocol.
> >>>>> I googled "jdrools osgi" and found this:
> >>>>>  
> >>>>> https://docs.drools.org/5.5.0.Final/droolsjbpm-integration-docs/html/ch.OSGI.html
> >>>>>
>

Reply via email to