apache / apache/camel-quarkus

FastCamelContext - Move more to build time phase

Open
#2,167 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 20h
Merged PRs (30d)
114

Description

Lets look at if we can move more to doBuild phase on AbstractCamelContext in camel-core, and also at CamelContextRecorder.createContext method where it builds CamelContext for camel-quarkus.

We have potential to do more at build time, discover more from classpath etc, and avoid doing that in doInit phase of CamelContext which is executed at runtime for both JVM and native mode. So we need to do as much we can do in doBuild phase.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading doBuild and doInit in AbstractCamelContext, then inspect CamelContextRecorder.createContext in camel-quarkus. Identify which classpath discovery and context setup currently happen during runtime initialization and determine what can safely move to build time for JVM and native modes. Done means a documented, tested reduction in doInit work.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, build-system
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.