Nice work. I hope we'll be able to leverage that nicely. I stopped working on that because I initially focused on splitting the model from the runtime + builders, but it's quite difficult to split the model from the builders and the builders from the runtime.
Guillaume Le sam. 24 oct. 2020 à 19:26, Claus Ibsen <claus.ib...@gmail.com> a écrit : > Hi > > I got started this weekend on more modularization of core, where we > can move out model and reifier from the engine, so they are separated. > https://issues.apache.org/jira/browse/CAMEL-15740 > > I wanted to do this over the weekend where the activity on the master > branch is lower than week days. > > I have the work done for the core repo, but would possibly need small > tweaks in camel-karaf (for its blueprint xsd generator) and maybe also > in spring-boot. > > With this moduralization we are getting closer to, and would make it > easier in the future to be able to do more build time optimizations > and class unloading / dead code elimination. > > My hope is we get to a point where we can offer a full build time > optimization that takes the DSL and via the model and reifiers build > the runtime processors (routes) and then at *real* runtime we can drop > all the model and reifier all together. > > Having them separated and in their own module / JAR makes this work easier. > > There is still some work as CamelContext has a ModelCamelContext / > Model that we somehow need to find a way to drop in an extreme > optimization. > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- ------------------------ Guillaume Nodet