Re: Minho Qusetion
Hi John, IMHO, Camel 4 dropped OSGi support because we lack contributors and it's very hard to "maintain" the dependencies in the OSGi way. I plan to work on Camel 4 OSGi support but I can't take any commitment because I'm doing it in my spare time only :) I agree with Greg's points anyway. Regards JB On Tue, Sep 19, 2023 at 5:14 AM John Taylor wrote: > > Hi JB, > > >> . If we have clear signs that people are interested in colocation and > >> Minho runtime paradigm, it could change :) > This probably isn't exactly what you're referring to, but I'll express > interest as I'm concerned that I won't be able to do things like I have > preferred to and Minho might(?) somehow be a solution. My preference has been > to run all my Camel routes in the Karaf OSGi runtime and not have to go the > multiple spring boot/whatever apps for each context. It's not a sophisticated > setup for sure, but it looks like Camel on OSGi support was dropped entirely > in Camel 4 (components are no longer built with OSGi) so I won't be able to > keep doing that as simply. > > Sorry, probably out in left field for the discussion. :) > > -John
Re: Building custom Karaf distribution with Karaf 4.4.4 not working
Hi Andre Thanks for the update, we gonna fix that. Regards JB On Tue, Sep 19, 2023 at 2:52 PM Andre Schlegel-Tylla wrote: > > I have created an issue for pax-web > https://github.com/ops4j/org.ops4j.pax.web/issues/1895 > > Without this feature we can't use the RewriteHandler. > > regards > Andre
Re: Spring Deployer
Hi, If you talk about the "pure" spring deployer, it's still there: https://github.com/apache/karaf/tree/main/deployer/spring (and you can install it via feature). On the other hand, the Spring DM "deployer" doesn't exist anymore as it has been replaced by Blueprint. Regards JB On Tue, Sep 19, 2023 at 1:52 PM Svend Ole Nielsen wrote: > > Hi - I have been looking all over the internet and also the local library, > but have not found any information on why/when the spring deployer was left > behind and removed from the 'deployer' feature. > > For a migration project it is required, and I can install it from the console > which makes it all tick. However, I would like to have it startup during boot > time, but I'm having a hard time putting it in the right place. > > Any help would be greatly appreciated >
Re: Minho Qusetion
Wrapping or re-packaging the Vaadin jars should solve for it. I agree, for a comprehensive web application you want to be able to “add things” at runtime without a reboot. Spring Boot / Kubernetes-based micro-services architectures hard force you into these cgi-bin paradigms which offer less value to rich applications. -Matt > On Sep 19, 2023, at 1:37 AM, Paul Fraser wrote: > > Hi JB, > > My project has until recently worked well using Karaf for loading new Vaadin > views as OSGi jars. > > Changed policy at Vaadin has made the use of OSGi virtually impossible and I > have been forced into the Spring Boot world. > > Much to my surprise, Spring Boot has turned out to be great for coding and > debugging my code. > > Missing is the ability to add new views on the fly which karaf kindly offered. > > I have tried to find a way to add new views to Spring Boot during a restart > but no success. > > Minho seems to be a possible solution to this problem but the learning curve > seems to be very steep. > > If Minho was promoted as a way to add some OSGi functionality to Spring boot, > you may have a winner. > > If this is possible, some examples of how to do it could lead to a more > reasonable learning curve. > > Also, now we are venturing into java 20 and 21 it seems that Spring Boot has > taken early steps to incorporate projects loom, panama etc.. > > OSGi may be falling behind with these projects. > > Paul Fraser > > On 18/09/2023 7:34 pm, Jean-Baptiste Onofré wrote: >> Hi Paul, >> >> Yes, that's the idea: having a central/shared registry gathering beans >> from OSGi, Spring Boot, CDI, whatever. >> The "dynamic" approach (adding/removing applications managed by a app >> manager like Spring Boot, OSGi, ...) is also a target. >> >> To be honest, currently, Minho is not moving forward due to the low >> interest we got. If we have clear signs that people are interested in >> colocation and Minho runtime paradigm, it could change :) >> >> Regards >> JB >> >> On Mon, Sep 18, 2023 at 6:29 AM Paul Fraser wrote: >>> Hi, >>> >>> Cannot quite get my head around Apache Minho but-- >>> >>> Can OSGi services be somehow added to the Spring Boot application at >>> runtime or even at Spring Boot restart? >>> >>> In effect having Spring Boot acting like an OSGi runtime with services >>> being added and removed as required. >>> >>> Is Minho going to proceed? >>> >>> Paul Fraser >>> >>>
Re: Building custom Karaf distribution with Karaf 4.4.4 not working
I have created an issue for pax-web https://github.com/ops4j/org.ops4j.pax.web/issues/1895 Without this feature we can't use the RewriteHandler. regards Andre
Spring Deployer
Hi - I have been looking all over the internet and also the local library, but have not found any information on why/when the spring deployer was left behind and removed from the 'deployer' feature. For a migration project it is required, and I can install it from the console which makes it all tick. However, I would like to have it startup during boot time, but I'm having a hard time putting it in the right place. Any help would be greatly appreciated