gnodet commented on issue #1088: Lightweight context without init / start phases
URL: https://github.com/apache/camel-quarkus/pull/1088#issuecomment-614538688
 
 
   > @gnodet I am missing some general context for this change (this might be 
my fault because I might have missed changes in other repos or discussions on 
the ML, sorry in that case). Could you please explain the following?
   > 
   > 1. Is the new Lightweight context implementation intended to become 
default at some point? Would that be short/middle/long term?
   > 2. Is the new Lightweight context implementation intended to become the 
only supported implementation at some point? Would that be short/middle/long 
term?
   > 
   > I have some concerns about the maintainability of supporting two quite 
different context implementations. I do not think we can test both properly.
   
   The goal is to continue on top of this PR with the main change which will 
switch the context initialization from RUNTIME_INIT to STATIC_INIT.  Once 
that's done, we'll keep the choice to use the lightweight context + STATIC_INIT 
or default context + RUNTIME_INIT.
   The latter will be needed when:
     * dynamic loading of routes is needed (most certainly in camel-k or other 
specific use cases)
     * the limitations of the lightweight context are problematic in the needed 
scenario.
   
   The limitations are currently mainly related to EIPs that use some kind of 
dynamic routing: the lightweight context can not create endpoints at runtime.  
That's expected, as the goal is not reduce the amount of code needed in native 
mode.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to