Hi JB, I think it make a lot of senses, especially to help users to build a custom Karaf/Camel distribution!
regards, François fpa...@apache.org Le 22/06/2020 à 19:09, Jean-Baptiste Onofre a écrit : > Hi guys, > > Now that Camel Karaf is on its own repository, I started major > refactoring/improvement coming for 3.5.0 (as 3.4.0 is LTS): > > 1. Cleanup > I did a complete module structure cleanup (no platform anymore, core module > directly at root folder) and feature. > > 2. Remove osgi-activator component to use whiteboard pattern > I removed osgi-activator component to use RouteBuilder extended/production > ready whiteboard pattern, using service property. > > 3. Introduction of CamelContextConfigurer whiteboard > Camel-core-osgi now provided CamelContextConfigurer interface allowing you to > create and configure CamelContext smoothly. > > 4. Deployer > Now, you can directly deploy route in groovy or package as pure jar (no need > to be a bundle). > > 5. Karamel tool > I started a new tool named karamel (Karaf with camel), exposed as CLI, Maven > plugin, Gradle plugin. > Here’s some example of karamel CLI usage: > - create ready to run karamel package and/or docker image: > karamel build myroute.class > karamel build myroute.xml > karamel build myroute.groovy > - run karamel package: > karamel run route1.jar route2.jar > karamel run route1.jar route2.xml > karamel run route1.groovy route2.xml > karamel run route1.xml mybundle.jar > karamel run route1.xml myfeature.xml > > 6. Improved and extended examples > The camel-karaf-examples repository will be populated with concrete examples. > These examples will be used in test as part of the repo itself. > > I will submit several PRs. > > I will keep you posted. > > Regards > JB >